Not working - Replit Chat App Using Node.js

Hi, I’m having an issue with Replit’s tutorial for: Chat App Using Node.js

I basically followed the instructions word for word but after running the server and then the client, I see: “Cannot GET /” (and “listening on 3000”) on the server part. The client is supposed to ask for the user’s chat handle but it’s just blank on the client end.

I figured that this line in the client was the issue:

var socket = io("https://repl-chat-server.email2coral.repl.co");

Because when I copy pasted the url in a new tab, it said, “This site can’t provide a secure connection.” But I double-checked the tutorial, and it’s supposed to work. I’m not sure what is going on.

Thanks.

Hi @email2coral , welcome to the forums!
The repl.co domain may not work here. Instead, in the Webview, click New Tab and copy the full url.
Hope this helps!

3 Likes

It works now, thanks.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.