Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot route to chat #1

Open
xixibu opened this issue Aug 8, 2016 · 3 comments
Open

Cannot route to chat #1

xixibu opened this issue Aug 8, 2016 · 3 comments

Comments

@xixibu
Copy link

xixibu commented Aug 8, 2016

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

@plhwin
Copy link
Owner

plhwin commented Oct 9, 2016

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.

@airzhanglin
Copy link

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

@Sky11163
Copy link

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

Repository owner deleted a comment from jalamari2018 Mar 19, 2024
Repository owner deleted a comment from jalamari2018 Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants