nodejs-socketio-chat icon indicating copy to clipboard operation
nodejs-socketio-chat copied to clipboard

Cannot route to chat

Open xixibu opened this issue 9 years ago • 3 comments

Hello Plhwin,

I'm new to this, and thank you for your sharing. I've read your blog from http://www.plhwin.com/2014/05/28/nodejs-socketio/, but failed to route to index.html using localhost:3000/chat, I think there should be some more configuration in index.js, is this right?

Regards, Guu

xixibu avatar Aug 08 '16 12:08 xixibu

thanks for your issue, index.js don't need more configuration, after you installed a webserver just like Nginx or Apache, and perform node index.js in the command line, http://localhost:3000 could be work in any browsers.

http://localhost:3000, not http://localhost:3000/chat.

plhwin avatar Oct 09 '16 02:10 plhwin

你好Plhwin, 我通过下载你的项目到本地,并用node运行了该项目,打开http://localhost:3000后页面只显示Welcome Realtime Server。我是不是少了什么东西。

airzhanglin avatar Dec 25 '16 09:12 airzhanglin

你好,谢谢你的分享。我在按你的demo做时出现了一个问题,那就是某某某加入聊天室,共有多少人这两个地方出现乱码(全是问号)的问题。不知道是不是编码出现了什么问题,但是你的demo中也没有编码啊

Sky11163 avatar Mar 14 '17 01:03 Sky11163