{"action":"created","issue":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/726","labels_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/726/labels{/name}","comments_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/726/comments","events_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/726/events","html_url":"https://github.com/nodemcu/nodemcu-firmware/issues/726","id":115072917,"number":726,"title":"Issue with createConnection to intranet IP","user":{"login":"happyiphone","id":3836774,"avatar_url":"https://avatars.githubusercontent.com/u/3836774?v=3","gravatar_id":"","url":"https://api.github.com/users/happyiphone","html_url":"https://github.com/happyiphone","followers_url":"https://api.github.com/users/happyiphone/followers","following_url":"https://api.github.com/users/happyiphone/following{/other_user}","gists_url":"https://api.github.com/users/happyiphone/gists{/gist_id}","starred_url":"https://api.github.com/users/happyiphone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happyiphone/subscriptions","organizations_url":"https://api.github.com/users/happyiphone/orgs","repos_url":"https://api.github.com/users/happyiphone/repos","events_url":"https://api.github.com/users/happyiphone/events{/privacy}","received_events_url":"https://api.github.com/users/happyiphone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T15:04:12Z","updated_at":"2015-11-05T00:54:05Z","closed_at":null,"body":"I have my nodemcu connected to my wifi network. I can connect just fine to pretty much any server I want on the internet but I've been trying to connect to an intranet IP and I always get a disconnection event. The server is there and I can connect just fine with any other tool from within the same network (there is no problem with the server or reaching the server).\r\n\r\nTrying to find the solution to this issue I've tried to \"trap\" the error but I can't find anything helpful. There is a parameter on the disconnection event but all I get from that parameter is this:\r\n\r\nuserdata: 3fff3ce0\r\n\r\nDoes that mean anything to anybody? I've been trying to find any information about that reason on the disconnect but no luck, any hint?"},"comment":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/comments/153918634","html_url":"https://github.com/nodemcu/nodemcu-firmware/issues/726#issuecomment-153918634","issue_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/726","id":153918634,"user":{"login":"jmattsson","id":869607,"avatar_url":"https://avatars.githubusercontent.com/u/869607?v=3","gravatar_id":"","url":"https://api.github.com/users/jmattsson","html_url":"https://github.com/jmattsson","followers_url":"https://api.github.com/users/jmattsson/followers","following_url":"https://api.github.com/users/jmattsson/following{/other_user}","gists_url":"https://api.github.com/users/jmattsson/gists{/gist_id}","starred_url":"https://api.github.com/users/jmattsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmattsson/subscriptions","organizations_url":"https://api.github.com/users/jmattsson/orgs","repos_url":"https://api.github.com/users/jmattsson/repos","events_url":"https://api.github.com/users/jmattsson/events{/privacy}","received_events_url":"https://api.github.com/users/jmattsson/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T00:54:05Z","updated_at":"2015-11-05T00:54:05Z","body":"A few questions:\r\n  1. Are you using deep sleep and connecting right after that?\r\n  1. If you continue retrying the connection, does it eventually work?\r\n  1. When you connect to non-local IPs, do you go through a NAT?"}}