Hi I'm testing my new Ookla Speedtest but failed on Websocket testing when using hostname while it passed when using IP Address. Please refer to details below.
-
details:
Error Connecting: Could not open socket to "xxx-speedtest.xxxxx.com.ph:8080": Connection timed out (110) stream_socket_client(): unable to connect to tcp://xxx-speedtest.xxxxx.com.:8080 (Connection timed out).
-
tip:
Connection over the WebSocket protocol failed.
Hello,
Welcome to the forum ! We hope you enjoy your time here, and find this to be a friendly and helpful place.
Are you sure that the hostname you are using resolves to the same IP address for which you have been able to carry out a successful test ? One possibility here is that something is blocking your connectivity to the IP to which this hostname resolves (or one of the IPs, if it resolves to multiple addresses), whereas there is no restriction in place to prevent you communicating with the IP which is working.
If you are sure they are identical, then if you could do a copy-and-paste of the two exact commands you are running in each instance for both tests, then we can compare them and see if anything else might be going on that could contribute to this situation.
Hope this helps !
Perhaps your application takes a Web proxy setting?
Please give result from
env | grep -i proxy