WebSockets Connection to published port is failing (LiveReload) #41915
Replies: 2 comments 4 replies
-
Hey @trieloff! Sorry you're having troubles setting this up. I wanna start by making sure that your ports are properly being forwarded. If you look in the Once we see that both ports are there and have a URL assigned, we can use those URLs to configure the code. The first thing I noticed is that you said you were using If you could make these changes and then reach back out with any other errors that might come up I'll be happy to figure this out with you. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I'm trying to set up livereload of my web app using https://www.npmjs.com/package/livereload-js and I'm unable to get the livereload.js client to talk to the server on Codespaces through WebSockets.
The setup is:
The result is a recurring error message:
If I run this in the browser's dev console:
I'm getting an error:
back, indicating that the connection failed.
One thing that I noticed: in my
devcontainer.json
I've specified:and with this, port 35729 won't be opened – is that because the local port 35729 is already taken?
Beta Was this translation helpful? Give feedback.
All reactions