aspose file tools*
The moose likes General Computing and the fly likes Tomcat Port Forwarding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Tomcat Port Forwarding" Watch "Tomcat Port Forwarding" New topic
Author

Tomcat Port Forwarding

Yong Boon Lim
Greenhorn

Joined: Dec 20, 2007
Posts: 1
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!!!
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1526
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.


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Port Forwarding