Tomcat behind router

Hi,

This might sound like a silly question but I am developing a j2me application for mobiles and need to connect to a servlet that is running on my laptop. The laptop is connected to the internet through my router and therefore I can't just give it my ip. Any help in sorting this would be great.

Thanks,

[326 byte] By [Ataris22a] at [2007-11-26 21:25:25]
# 1

Using a technique called "port forwarding" you can specify to your router that connections on a certain port must go to the network IP of your laptop. Check the manual of your router on how to set this up.

After you do this you can specify your external (internet) IP address with the correct port and your router should forward the connection properly.

Alternatively, if the PDA is connected internally on your network you can specify the internal network address of your laptop directly and no port forwarding is needed.

gimbal2a at 2007-7-10 3:05:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...