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
localhostbut not127.0.0.1or 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 access127.0.0.1(80) with telnet. - windows firewall is off (stopped the service)
- nothing defined in hosts file
- cleaning
DNSandARPchache 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