lisay_1 Posted January 10, 2017 Share Posted January 10, 2017 Hi, I installed JasperReports Server 6.3.0 on our Debian Linux system. From all indications and the installation.log file, the install was successful, using default responses. Per online instructions, I'm trying to login to the server but am getting the ERR_CONNECTION_REFUSED error. I've seen other posts mentioning this error, but haven't found a solution that works in our installation. The error occurs after issuing the URL <domain name>:8080/jasperserver (not jasperserver-pro, this is the community edition). Digging around online, this may be an issue of the port in a needed listening state, being enabled past a firewall, or other gating factor. I'm not very Linux conversant but the port state should be ok, having verified that Tomcat is started:root@awv02v:/opt/jasperreports-server-cp-6.3.0/apache-tomcat/webapps/jasperserver# sudo netstat -tanpu | grep ":8080"tcp6 0 0 :::8080 :::* LISTEN 4524/javaThe firewall I'm not so certain about:root@awv02v:/opt/jasperreports-server-cp-6.3.0/apache-tomcat/webapps/jasperserver# sudo ufw statusStatus: active To Action From-- ------ ----22 ALLOW Anywhere80 ALLOW Anywhere21/tcp ALLOW AnywhereIs there a standard configuration setting I'm missing that might account for the connection refusal? Thanks for any insights.Lisa Link to comment Share on other sites More sharing options...
hozawa Posted January 11, 2017 Share Posted January 11, 2017 Are you seeing the JasperReports Server login page? If so, which user/password are you trying to login with?If not, try accessing tomcat's administration page. http://localhost:8080/manager/To login, you'll need to modificy config/tomcat-users.xml. Following will let you login as tomcat/tomcat. Check that JasperReports Server is up and running.<!-- --> <role rolename="tomcat"/> <role rolename="role1"/> <user username="tomcat" password="tomcat" roles="tomcat,manager-gui"/> <user username="both" password="tomcat" roles="tomcat,role1"/> <user username="role1" password="tomcat" roles="role1"/><!-- --></tomcat-users> Link to comment Share on other sites More sharing options...
lisay_1 Posted January 12, 2017 Author Share Posted January 12, 2017 Thanks hozawa - I'm not seeing the login page, and even after making the suggested change to tomcat-users.xml I'm not seeing the manager page either. In Chrome, it's just a gray "This site can't be reached" generic-error screen. Firefox yields similar results. It seems like some access-related setting is blocking page display. I'd previously installed JRS on my Windows development system without this error, so it would seem to be specific to the Linux install and/or environment. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now