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

client not handshaken on computers outside the network #187

Open
anchetaWern opened this issue Mar 22, 2012 · 0 comments
Open

client not handshaken on computers outside the network #187

anchetaWern opened this issue Mar 22, 2012 · 0 comments

Comments

@anchetaWern
Copy link

I'm trying to make now.js accessible on computers outside my home network via my external ip address. I've already setup the router for port forwarding to the ports that I have used. 8080 for php, 8081 for node.js

I have this on the back-end JavaScript file(chatserver.js)
server.listen(8081, "0.0.0.0");

I've also modified this line in the nowjs.js file into my external ip but still doesn't work.
window.now = nowInitialize("//localhost:8081", {});

I'm trying out the chat server example from the site. It works fine when I access it via localhost and via my external ip on my laptop. But when somebody accesses it from the outside, they can still access the page but is unable to handshake. Where could the problem be?

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

1 participant