Can jettyRun be configured to publish application so it's accessible from another machine on same network?


(Scott Taylor) #1

Is there a way to make jettyRun publish the web application using the machine’s ip address or binding it to 0.0.0.0 so that it’s accessible from another machine on the network. When I run jettyRun I see:

Building > :jettyRun > Running at http://localhost:8080/

But I can only access it from the local machine, not from other machines on the same network. I believe this is because Jetty is publishing the service using localhost rather than the machine’s network ip address.

Any help greatly appreciated. /Scott


(Scott Taylor) #2

Turns out it was a firewall issue on my machine, so disregard my original question.


(Scott Taylor) #3

This was a firewall issue on my machine, so disregard my question.