Not Connected!
Closed this issue · 1 comments
sachinbaghel14 commented
Not working please help. i have deployed my server written in node.js and i am trying to connect to that.
In arduino console-
15:48:41.262 ->
15:48:41.262 -> v951aeffa
15:48:41.262 -> ~ld
15:48:41.297 -> ...Connected to Wifi, Connecting to server.
15:48:49.319 -> Not Connected!
gilmaimon commented
Many issues here:
- First, take some time to format your code so it is easier to read
- Second, you are trying to connect on port 8080, but is your server running on 8080? (hint: no, it's on 80)
- Third, you are connecting to "https://..." but is your server using ssl? (hint again: no, its using plain http)
Try connecting to your server from a normal client first (there are some nice websocket client chrome extensions) and then you will understand what is wrong with the code.
Good luck!