Getting Error 10060 while using Remote Server and running tests
h3xh4wk opened this issue · 2 comments
Hi,
I am not able to run tests given in examples. Not able to connect to the server running on the same Windows 7 PC.
Please see the image; In one command window, the server has already started. but while running tests, I get error 10060;
[ ERROR ] Error in file 'C:\Users\jitendrasi\gitrepos\PythonRemoteServer\example
\tests.robot': Getting keyword names from library 'Remote' failed: Calling dynam
ic method 'get_keyword_names' failed: Connecting remote server at http://192.168
.0.103:8270 failed: [Errno 10060] A connection attempt failed because the connec
ted party did not properly respond after a period of time, or established connec
tion failed because connected host has failed to respond
I tried running the robotremoteserver.py test $IP:$PORT, and it prints No remote server running at http://$IP:$PORT. Well, it works when I use loopback address on the same Windows PC.
It works when I try the same thing on a Linux box i.e. by running the server and client targeting the $IP of one of my interfaces.
It also works when I run the tests.robot from Windows 7 by giving an $IP of one of my interfaces of the Linux installed as a guest on VirtualBox on Windows Host.
strange. I don't know what I am missing while replicating the same steps on Windows 7.
I tried running both server and client on my personal Windows PC which is not part of any corporate domain. It works.
I think it might be some firewall 🔥 issue.
Hoping to close this one soon.
