Hi Guys! I'm a new member of javaranch but I've been reading forums here for quite some time and it has helped me a lot. I am currently developing a small web application which I will be deploying using Tomcat. It will be accessed by remote users via the internet as well local users in our intranet. But when I connect to the internet, I can't access the application but I can access it in our LAN. When I disconnect the connection to the LAN, it then worked in the internet. What should I do so that it can be accessed simultaneously?TIA.
What exactly do you mean by "disconnect the connection to the LAN"? I have a couple of Tomcat servers that can be seen both ways. I had to configure the router to map the address seen by the Internet to that used internally but thats all it took. Bill
Joined: Jun 12, 2003
Hi Bill! What I mean by that is I actually disconnected physically the connection of the Webserver to the LAN by unplugging the cable in the LAN card. Then I connect to the internet (dial-up) and get the ip address assigned to me. When I access that ip address by typing it in the address bar it is working. The problem is when I am both connected to the internet and the LAN. I think Tomcat only sees the local ip address and not the ip address assigned by the ISP.