I set up a local web server and my local web app works fine putting localhost in the browser, but when I connect it to a network it stops working, been a crazy time trying to figure out why. The app keeps running in a VM but won't communicate.
I set up a local web server and my local web app works fine putting
localhost in the browser, but when I connect it to a network it stops working, been a crazy time trying to figure out why. The app keeps
running in a VM but won't communicate.
Explain 'stops working' in a a bit more detail, please. The bare
statement could mean anything from it webserver crashing to it not being accessible from another computer and lots else as well.
For starters, is the host machine running a firewall? If so are the
port(s) your webserver uses, usually port 80, accepting connections from hosts on your local net? ...from hosts on the wider Internet? It
certainly sounds as if this could be the problem.
My tools of choice if I suspect a network or firewall problem are ping, nmap, traceroute and, as a last resort, wireshark - used in approximately that order.
--
Martin | martin at
Gregorie | gregorie dot org
On Saturday, June 6, 2020 at 5:18:11 PM UTC-4, Martin Gregorie wrote:
Explain 'stops working' in a a bit more detail, please. The bare
statement could mean anything from it webserver crashing to it not
being accessible from another computer and lots else as well.
For starters, is the host machine running a firewall? If so are the
port(s) your webserver uses, usually port 80, accepting connections
from hosts on your local net? ...from hosts on the wider Internet? It
certainly sounds as if this could be the problem.
My tools of choice if I suspect a network or firewall problem are ping,
nmap, traceroute and, as a last resort, wireshark - used in
approximately that order.
--
Martin | martin at Gregorie | gregorie dot org
It's just a local test bed, the client machine is the server physical machine. The weblogic server runs in a Java VM. It's default port is
7001. I've tried changing the port, the issue continues. If I boot the computer with no network connected it works fine. If I plug in to the internet it stops working. There is no error I can see from the server
VM. I normally start it from Eclipse. You can see in task manager the
Java session still running under Eclipse. I can telnet to localhost on
that port. I can of course ping localhost. I open a web browser and
put in the path under localhost:port/appname. This works fine when not connected, fails when connected. Weblogic also has an administrative
console in a web browser, which is also accessible only when not
connected. I can run TOAD and access the database just fine.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 45:19:02 |
Calls: | 6,648 |
Files: | 12,197 |
Messages: | 5,329,773 |