{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/8068","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/8068/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/8068/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/8068/events","html_url":"https://github.com/facebook/react-native/issues/8068","id":159799618,"number":8068,"title":"Running development server on non-standard port (one other than 8081) causes remote debugging connection launch failure. ","user":{"login":"joshyhargreaves","id":1807207,"avatar_url":"https://avatars.githubusercontent.com/u/1807207?v=3","gravatar_id":"","url":"https://api.github.com/users/joshyhargreaves","html_url":"https://github.com/joshyhargreaves","followers_url":"https://api.github.com/users/joshyhargreaves/followers","following_url":"https://api.github.com/users/joshyhargreaves/following{/other_user}","gists_url":"https://api.github.com/users/joshyhargreaves/gists{/gist_id}","starred_url":"https://api.github.com/users/joshyhargreaves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshyhargreaves/subscriptions","organizations_url":"https://api.github.com/users/joshyhargreaves/orgs","repos_url":"https://api.github.com/users/joshyhargreaves/repos","events_url":"https://api.github.com/users/joshyhargreaves/events{/privacy}","received_events_url":"https://api.github.com/users/joshyhargreaves/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-11T23:58:37Z","updated_at":"2016-09-20T08:38:42Z","closed_at":null,"body":"**version**: RN 0.27.2\r\n**platforms present**: only occurs on IOS as far as I'm aware. \r\n**development platform**: OSX (mac). \r\n\r\n\r\nAs McAfee antivirus runs on port 8081, I have been using another port for development purposes. \r\n\r\nI have found that all debug features function with no issue when running the development server on a port other than 8081, however there is a failure to launch remote debugging when using said alternate port. \r\n\r\n**obviously we can specify an alternate port as follows**\r\n```\r\nNSURL *jsCodeLocation = [NSURL URLWithString:@\"http://localhost:7999/index.ios.bundle?platform=ios\"];\r\n\r\n\"start\": \"node node_modules/react-native/local-cli/cli.js start --port 7999\"\r\n```\r\n\r\n**this is the error when launching remote debugging on 7999**\r\n<img width=\"1075\" alt=\"screen shot 2016-06-12 at 12 45 33 am\" src=\"https://cloud.githubusercontent.com/assets/1807207/15987990/76378e24-3037-11e6-976a-1cd34631c81a.png\">\r\n\r\nWhen running on port 8081 tapping 'enable remote debugging' from the debug menu opens a new tab in chrome and debugging connects as expected, however when not on port 8081, no tab in chrome is opened. You may even load the debug window yourself at http://localhost:7999/debugger-ui (for example) but the IOS simulator fails to connect. \r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/248239794","html_url":"https://github.com/facebook/react-native/issues/8068#issuecomment-248239794","issue_url":"https://api.github.com/repos/facebook/react-native/issues/8068","id":248239794,"user":{"login":"bbodenmiller","id":1192780,"avatar_url":"https://avatars.githubusercontent.com/u/1192780?v=3","gravatar_id":"","url":"https://api.github.com/users/bbodenmiller","html_url":"https://github.com/bbodenmiller","followers_url":"https://api.github.com/users/bbodenmiller/followers","following_url":"https://api.github.com/users/bbodenmiller/following{/other_user}","gists_url":"https://api.github.com/users/bbodenmiller/gists{/gist_id}","starred_url":"https://api.github.com/users/bbodenmiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbodenmiller/subscriptions","organizations_url":"https://api.github.com/users/bbodenmiller/orgs","repos_url":"https://api.github.com/users/bbodenmiller/repos","events_url":"https://api.github.com/users/bbodenmiller/events{/privacy}","received_events_url":"https://api.github.com/users/bbodenmiller/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T08:38:42Z","updated_at":"2016-09-20T08:38:42Z","body":"I'm also having the same issue on Windows."}}
{"actor":{"display_login":"bbodenmiller"}}