• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat Port Forwarding

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, all, l'm no sure whether l'm in the right place Pardon me.

Ok, l try to setup a Tomcat Server in my PC, and it work fine when l access from my PC with http://localhost:8080 and from my friend PC with http://myPC:8080.

l do add the port forwarding rule in my router for any public port 8080 to direct to my PC port 8080. And l've do the open port testing with my route Dynamics IP xxx.xxx.xxx.xxx:8080, and it should that the port is open.

But once l go to my IE and key-in http://xxx.xxx.xxx.xxx:8080, it should that "Internet Explorer cannot display the webpage".

l suspect there is some setting in Tomcat prevent this kind of activities..

Any idea? Many Thanks!!!
 
Ranch Hand
Posts: 1609
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Yong Boon Lim:
Hi, all, l'm no sure whether l'm in the right place Pardon me.

Ok, l try to setup a Tomcat Server in my PC, and it work fine when l access from my PC with http://localhost:8080 and from my friend PC with http://myPC:8080.

l do add the port forwarding rule in my router for any public port 8080 to direct to my PC port 8080. And l've do the open port testing with my route Dynamics IP xxx.xxx.xxx.xxx:8080, and it should that the port is open.

But once l go to my IE and key-in http://xxx.xxx.xxx.xxx:8080, it should that "Internet Explorer cannot display the webpage".

l suspect there is some setting in Tomcat prevent this kind of activities..

Any idea? Many Thanks!!!



As far as I can think of it, the Tomcat runs fine. Why? because when it is accessible through localhost:8080 it should also be accessible through some other machine. I assume it to be more of a networking issue than of Tomcat.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The routers external IP is usually not accessible from the internal network. I am not sure of the specifics but it is probably an issue with routing rules. You would need to get someone from 'outside' to try to access the server, or you could try a free proxy to route yourself back again... maybe.

Also, some ISPs block a range of ports be default so you may need to check with them first.
 
Live a little! The night is young! And we have umbrellas in our drinks! This umbrella has a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic