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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.