• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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

 
Ranch Hand
Posts: 42
IntelliJ IDE Firefox Browser 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: 1275
39
IBM DB2 Netbeans IDE Spring Java
  • 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.
 
Saloon Keeper
Posts: 22483
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic