Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Binding Jetty HttpClient to Network Interface Card

The setBindAddress method takes in an ipaddress or hostname and a port number, I don't understand what the port number is for. I used the binding functionality of Apache HttpComponents and I had to provide it with a InetAddress. But I am straggling to find a way to make it work for Jetty


-----Original Message-----
From: Lothar Kimmeringer <job@xxxxxxxxxxxxxx>
To: jetty-users <jetty-users@xxxxxxxxxxx>
Sent: Thu, Sep 29, 2016 4:26 pm
Subject: Re: [jetty-users] Binding Jetty HttpClient to Network Interface Card

Hi,

Am 29.09.2016 um 22:08 schrieb davidjesse091@xxxxxxx:
> I will be using Jetty HttpClient on machines with two Network Interface Cards,
> I want the ability to force (bind) Jetty HttpClient to one of the NICs, would
> this be possible with Jetty HttpClient?

Doing a Google-search [1] brings up [2] as first result. Reading through
it I think the answer is yes.


Cheers, Lothar

[1] https://www.google.de/?gws_rd=ssl#q=jetty+http+client+binding
[2] http://download.eclipse.org/jetty/9.3.11.v20160721/apidocs/org/eclipse/jetty/client/HttpClient.html
_______________________________________________
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