Unable to Connect to Selenium Server on Port 4444 from WordPress
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Unable to Connect to Selenium Server on Port 4444 from WordPress

by
Monika Kirol
Created on 2025-02-10 09:45:35 in General Information

Hello,

I'm trying to connect to a Selenium server running on port 4444 from my WordPress installation, but I'm encountering a cURL timeout error. It seems that my server cannot establish a connection to the Selenium instance.

Additionally, I am unable to open the necessary ports via the command line. Is there a way to unblock or enable access to the Selenium server? Any guidance would be greatly appreciated.


1 Reply ( Latest reply on 2025-02-11 15:10:03 by
XeRGy
)

Hello @Monika Kirol,

I'm sorry for the inconvenience.

Verify Selenium Server is Running and Accessible (from outside the WordPress server):

Directly from the OVHcloud console (if possible): If the Selenium server is on the same OVHcloud infrastructure, try curl http://<selenium_server_ip>:4444/status (replace <selenium_server_ip> with the actual IP). If this works, the problem is definitely the firewall between the WordPress server and the Selenium server.

From your local machine: If the Selenium server is publicly accessible (which might not be the best security practice, but good for testing), try the same curl command from your home computer or another server outside of OVHcloud's network. If this fails, the Selenium server itself might not be running correctly, or its firewall is blocking external connections. Check its logs and configuration.

Let me know how it goes,
Sergio Turpín