i'm running a webapp on Jetty with Maven on my machine (Win7 pro X64) and i'm experiencing some weird problems:
- when i try to open it on my browser - it's accessible via
localhost
but not 127.0.0.1
or my local address (192.168.0.14
).
- when someone else from my local network tries to access the app he can do it via my computer name but not via my local address.
NOTE:
- ping works for localhost and
127.0.0.1
. also, i can access 127.0.0.1
(80) with telnet.
- windows firewall is off (stopped the service)
- nothing defined in hosts file
- cleaning
DNS
and ARP
chache didn't help
- on other computers in the network the app works fine and i can access it via their ip. we all share the same
pom.xml
.
- error says - "link appears to be
please help me find out what the hell can be the problem
thanks...
after a looong evening of trying pretty much everything i think i found the problem - Skype!
after running jetty successfully on 8080 i consulted a friend and he told me about the skype issue. after shutting down skype, jetty runs perfectly on port 80 as well :)
after a quick search i found this - http://www.mydigitallife.info/disable-skype-from-using-opening-and-listening-on-port-80-and-443-on-local-computer/
NOTE: for some reason Jetty isn't throwing an exception like a server should in this situation
If you are getting genuine 404
errors, then you are obviously connecting to the Jetty server, but Jetty is deciding not to serve up your application on that address.
It sounds like you've enable virtual hosting on the Jetty server, so that the application is bound only to specific host names, and is therefore not being served up on numeric IP addresses.
I'm not sure how you've wound up in that situation though.