how to connect to a Node machine when we use the VPN using Selenium GRID

844 views
Skip to first unread message

Anil Kumar

unread,
Nov 10, 2016, 12:56:58 AM11/10/16
to Selenium Users
How to connect to a Node machine when we use the VPN using Selenium GRID

I tried to register the node when both the machines are in VPN, But it refused to connect.

Any Solutions??

Thanks in Advance

⇜Krishnan Mahadevan⇝

unread,
Nov 10, 2016, 1:29:14 AM11/10/16
to Selenium Users
When both the machines are on the VPN, then there's nothing different in terms of how you connect. You would perhaps need to specify the IP address so that Grid knows what IP is to be used, after you figured out what is the IP with which connections can be made.

Also please make sure that you port 4444 and 5555 (default ports which hub and node uses) are opened up and aren't blocked by your firewall.



Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/c800f9f3-2645-4e10-8706-da8ee22c2aac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Anupam Tiwari

unread,
Apr 22, 2017, 10:29:42 PM4/22/17
to Selenium Users
Hi,
There is a solution when you are try to establish the connection over VPN network, try to use compute name instead of IP as a host. Because local connection has some different IP and VPN has different IP so node is confused which one to pair then you get UnreachableBrowserException while running. so make sure compute name instead of IP address. 

Anupam Tiwari

unread,
Jun 6, 2017, 2:31:41 AM6/6/17
to seleniu...@googlegroups.com

Yes, there is a solution.
Use the computer name instead of IP address if you are using VPN. And
http://computerName:Node/wd/hub

--
Reply all
Reply to author
Forward
0 new messages