Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] UPDATE: calling setHost under jetty v9.4.8.v20171121 causes embeded jetty application to hang


West,

Sounds like there could be some DNS resolution problems on your machine.

Can you do a host lookup for "aaa,bbb.ccc" and get 192.168.20.9? from the command line?
Perhaps try writing a little test main in java to check that InetAddress can also look up the name and resolve it.

regards


On 12 December 2017 at 20:08, west suhanic <west.suhanic@xxxxxxxxx> wrote:
Hello:

This is an update to my previous email.

If I use an actual IP address in the setHost call everything works as expected.

For example:

 ServerConnector http = new ServerConnector(server,
                new HttpConnectionFactory(http_config));
 http.setPort(8080);
 http.setHost( "192.168.20.9" );
 http.setIdleTimeout(30000);

works as expected when contacted using the following URL:



thank you,

west suhanic

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users



--

Back to the top