Super User is a question and answer site for computer enthusiasts and power users. 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 got a static ip address for lease from my ISP. So the requests for that ip address is forwarded to the modem in my house. from here it is connected to other devices through wifi. On one o the devices my server is running in jboss on port 8080. But all the devices have the same ip address. How can I forward the requests to that particular machine.

share|improve this question

migrated from Jul 27 '12 at 13:50

This question came from our site for pro webmasters.

Should probably be on SuperUser – David Yell Jul 27 '12 at 11:03
Do you have NAT on your router? Or port forwarding? – Dave Jul 27 '12 at 11:04
@DaveRook : I have NAT. But am not sure of port forwarding. I have something called port mapping. – Ashwin Jul 27 '12 at 14:17
up vote 4 down vote accepted

Your internal network devices will not all have the same internal IP, otherwise they wouldn't work. What I assume you mean is that they all have the same external WAN ip.

In this case you will need to forward the port in your router settings to the IP of the device running your server.

For example, WAN ip
Device 1
Device 2

So you'll want to forward all your port 8080 requests through to the ip on your network.

You can find a short guide on how to forward ports here,

share|improve this answer
I have read Link. I don't have port fowarding on my router. I have something called port mapping. It contains Group Name, Grouped Interfaces and Available Interfaces. – Ashwin Jul 27 '12 at 14:23
I would make a guess that 'Group name' would be what you call it. 'Grouped interfaces' would be your ports, and then 'Available interfaces' would be where you forward to. Have a google for your router model to see if you can turn up some instructions. – David Yell Jul 27 '12 at 14:39
Finally got it. It is there in the NAT section. But still the request does not get forwarded to the server. What can be the reasons for this? I am able to access internet from the server. I am able to ping the server from another device. But the request on port 8080 is not getting forwarded to the server. My request url is of the form - Where is a public example (just suppose). I have forwarded the requests on port 8080 to (server). But since it is http, should I also forward requests on port 80? – Ashwin Jul 27 '12 at 16:28
If you are looking to serve HTTP requests then yes, I would also forward port 80. Also check the server's firewall and/or iptables to ensure that 8080 isn't blocked on the server. – David Yell Jul 30 '12 at 8:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .