Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have 2 routers.

router 1 IP : router 2 IP :

I can easily forward port 8080 from router 1 to router 2 which routes it to a Tomcat server (port 8080 also).

I accesss this server via:

When I change to Tomcat to port 5000, and reconfigure the routers, I can access the Tomcat instance using (inside my LAN)


But, accessing my Tomcat from outside doesn't seem to work at all! I just changed the port and it doesn't work anymore:

I installed Wireshark on the server and using the URL above does trigger anything (so the server is not being hit). I've tripled checked port forwarding...

Is there a magic trick or something special to do to use any port other then 8080?

Thank you!

share|improve this question
Found my problem, seems DDWRT was "bugging a bit" since I cleared the ports being forwarded (which were only 3 and all but on disabled). Everything is now working as expected. – code-gijoe Dec 8 '11 at 0:43
Please post an answer to your own question, and then accept it, so that this question can be categorized as resolved. – Royce Williams Dec 12 '11 at 1:15
up vote 0 down vote accepted

For some reason, this DD-WRT is not forwarding the ports correctly. I found that this obscure bug can occur but since I do not want to fiddle anymore with my router I just forwarded all ports to the same host. Not very clean but I'm just making tests.

share|improve this answer
Thanks for the follow-up - much appreciated! – Royce Williams Dec 12 '11 at 3:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.