Skip to content
This repository was archived by the owner on Nov 29, 2018. It is now read-only.
This repository was archived by the owner on Nov 29, 2018. It is now read-only.

Running Selenium WebDriver fails on a machine with two IPs #4344

@lukeis

Description

@lukeis

Originally reported on Google Code with ID 4344

I'm using VS2010 unittests for running Selenium tests (for FF & Chrome). They work on
my machine. But they fail on my build server. Only difference I can see is the build
server has several IP addresses.

Here error:
OpenQA.Selenium.WebDriverException: Unexpected error. System.Net.WebException: Unable
to connect to the remote server ---> System.Net.Sockets.SocketException: No connection
could be made because the target machine actively refused it MY_SERVER_LOCAL_IP_HERE:7055
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress
socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket
s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult
asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
   at OpenQA.Selenium.Firefox.Internal.ExtensionConnection.Execute(Command commandToExecute)
   at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute,
Dictionary`2 parameters)


Selenium version: 2.25.1
OS: Windows Server 2008 R2
Browser: FF & Chrome

Reported by sergei@dorogin.com on 2012-07-31 09:58:02

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions