Re: getServers().add(....) always bind to 0.0.0.0

2016-09-11 Thread Jerome Louvel
Hi Jon,

The VirtualHost is indeed only used for routing to match incoming HTTP
calls.
Which HTTP connector are you using?
If you think this is a bug, could you submit a pull request?

Thanks,
Jerome


On Sun, Sep 11, 2016 at 2:35 PM, Jon Finanger  wrote:

> I checked the source code for the HttpServerHelper.java where the http
> server
> is created. Its only setting for the InetSocketAddress is the port and not
> the bind address. I hardcoded my ipaddress just to test and updated
> restlet.jar and the server was bound correctly to the correct Ip address as
> Server.java promises.
> I guess the same goes for httpsserverhelper.
>
>
>
>
>
> --
> View this message in context: http://restlet-discuss.
> 1400322.n2.nabble.com/getServers-add-always-bind-to-
> 0-0-0-0-tp7579464p7579465.html
> Sent from the Restlet Discuss mailing list archive at Nabble.com.
>
> --
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447;
> dsMessageId=3185492
>

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447=3185493

Re: getServers().add(....) always bind to 0.0.0.0

2016-09-11 Thread Jon Finanger
I checked the source code for the HttpServerHelper.java where the http server
is created. Its only setting for the InetSocketAddress is the port and not
the bind address. I hardcoded my ipaddress just to test and updated
restlet.jar and the server was bound correctly to the correct Ip address as
Server.java promises.
I guess the same goes for httpsserverhelper.





--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/getServers-add-always-bind-to-0-0-0-0-tp7579464p7579465.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447=3185492