• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Can't connect to Tomcat 7 manager outside of my local network  RSS feed

 
Ranch Hand
Posts: 40
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

I am trying to access the web based Tomcat manager. In my local network I can do that without any problems, but when trying to access it outside of it I get a problem. I can enter the the username and password but then nothing happens. My browser just shows a "can't connect" page. I used Firefox' analyzing tool to check the response: there's none.

tomcat-user.xml:


server.xml:


I'm not sure what's the problem. Any ideas?
 
Bartender
Posts: 1142
38
IBM DB2 Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, somewhere in Tomcat logs you should see some messages telling you on which address: port Tomcat web transport is bound to. You should read the documentation and verify how to specify http binding settings.
 
Bartender
Posts: 20745
124
Android Eclipse IDE Java Linux Redhat Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your server.xml example doesn't show the Connector definition for port 7423, which is what you've designated as your SSL listener port.

That definition should contain the details of the port, including its SSL characteristics and the location and credentials of the keystore that's used to hold SSL security certificates, which are essential for any service that intends to use SSL/TLS.

The Tomcat manage and admin webapps require a secure transport. Otherwise anyone who wanted to could easily hack in and take control of the entire Tomcat server.

And, of course, the other thing you need is to ensure that port 7423 is open at the firewalls.
 
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!