From: "drbrain (Eric Hodel)" Date: 2012-06-22T08:43:58+09:00 Subject: [ruby-core:45764] [ruby-trunk - Feature #6617] Net::HTTP: Bind to a specific local IP/port Issue #6617 has been updated by drbrain (Eric Hodel). Category set to lib Bind to a local port like TCPSocket.new does? I'm sure this feature could be added. I think the easiest way to add it would result in an API like: http = Net::HTTP.new remote_host http.local_host = local_host http.start do ��� end Instead of passing the local host and port as parameters to Net::HTTP.new or Net::HTTP.start. ---------------------------------------- Feature #6617: Net::HTTP: Bind to a specific local IP/port https://bugs.ruby-lang.org/issues/6617#change-27343 Author: mksm (Ricardo Amorim) Status: Open Priority: Normal Assignee: Category: lib Target version: Despite having several solutions floating around the net, this feature is currently not present in Net::HTTP. I searched the issues but didn't find any discussion on this. How does the dev team feel about this? Can I submit a patch for revision? -- http://bugs.ruby-lang.org/