molecule icon indicating copy to clipboard operation
molecule copied to clipboard

Hello World program doesn't work

Open JeffW12345 opened this issue 2 years ago • 1 comments

When I ran your Hello World program in conjunction with Undertow, I got an error message: The web page at http://0.0.0.0:8080/ might be temporarily down or it may have moved permanently to a new web address.

I fixed this by changing the web creation line in my app to:

WebServer webServer = WebServer.create("127.0.0.1", 8088);

JeffW12345 avatar Oct 16 '22 08:10 JeffW12345

Yes, probably 0.0.0.0 does not work very well on all platforms. I'll update the documentation to use 127.0.0.1

Thanks

testinfected avatar Oct 17 '22 20:10 testinfected