Report this

What is the reason for this report?

How to connect to https on port 6001

Posted on December 21, 2021

I’m currently trying to set up websockets with socketio and laravel-echo-server with Laravel as my API and React as my front-end. I have everything set up properly except I can’t access port 6001 over https.

Whenever I navigate to https://api.mysite.com:6001/socket.io/?EIO=4&transport=websocket, which is where my websockets are hosted, I should get a response, but all I get is ERR_CONNECTION_REFUSED or ERR_INVALID cert since it’s not allowing me to access port 6001 over https.

Is there a way to do this?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.