-
Notifications
You must be signed in to change notification settings - Fork 67
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
Connection Timeout when send message #12
Comments
It is working fine on localhost but it gives error on live server. I have changed ws://192.168.0.104 to ws://urlOfSite. but still |
@TaimurTTS , have you checked firewall? |
I am getting this error now: |
ok now. Site is hosted on inmotion hosting. I contacted there support about port 2000. They are definitely sure that 2000 is open & there is not any firewall issue. now i', getting error: Connection2.js:7 WebSocket connection to 'ws://127.0.0.1:2000/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED Their support says that 2000 is open and no service is listening to this port that's why it's not responding |
when i try with server IP it gives me error of connection timeout. According to support port is open & live |
Hi,
First of all thank you for this great work.
I have ran your code and it worked fine. I decided to websocket for my auction site.
I copied your thirdparty folder and connection2.js. I changed constant.php
I also ran server.php by going into directory
and running it from command shell by entering => php server.php
Everytime I try to send a message saying:
Connection2.js:7 WebSocket connection to 'ws://192.168.0.104:2000/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT
Can you please take a look and tell me what am i doing wrong.
The text was updated successfully, but these errors were encountered: