{"action":"closed","number":8025,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/8025","id":80528920,"html_url":"https://github.com/nodejs/node/pull/8025","diff_url":"https://github.com/nodejs/node/pull/8025.diff","patch_url":"https://github.com/nodejs/node/pull/8025.patch","issue_url":"https://api.github.com/repos/nodejs/node/issues/8025","number":8025,"state":"closed","locked":false,"title":"Backport doc: server.listen() random port","user":{"login":"phillipj","id":1231635,"avatar_url":"https://avatars.githubusercontent.com/u/1231635?v=3","gravatar_id":"","url":"https://api.github.com/users/phillipj","html_url":"https://github.com/phillipj","followers_url":"https://api.github.com/users/phillipj/followers","following_url":"https://api.github.com/users/phillipj/following{/other_user}","gists_url":"https://api.github.com/users/phillipj/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipj/subscriptions","organizations_url":"https://api.github.com/users/phillipj/orgs","repos_url":"https://api.github.com/users/phillipj/repos","events_url":"https://api.github.com/users/phillipj/events{/privacy}","received_events_url":"https://api.github.com/users/phillipj/received_events","type":"User","site_admin":false},"body":"##### Checklist\r\n\r\n- [x] `make -j4 test` (UNIX), or `vcbuild test nosign` (Windows) passes\r\n- [x] documentation is changed or added\r\n- [x] commit message follows commit guidelines\r\n\r\n##### Affected core subsystem(s)\r\n\r\ndoc\r\n\r\n##### Description of change\r\n\r\nBackported from 57e95d9c4c5977d17363b2fff5aaad8b250fe4bc / #7976.\r\n\r\nMinor rewording related to making a server listen to a random port, and added how to retrieve which port was randomly chosen by the OS.\r\n\r\nAlso changed documented `server.listen()` signature as it does in fact not require `port` to be provided ([lib/net.js#L1339](https://github.com/nodejs/node/blob/v4.x/lib/net.js#L1339)).","created_at":"2016-08-08T21:54:51Z","updated_at":"2016-08-24T14:11:00Z","closed_at":"2016-08-24T14:11:00Z","merged_at":null,"merge_commit_sha":"52483ef6eee476ca05b613bc7c69a22825f6eb68","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nodejs/node/pulls/8025/commits","review_comments_url":"https://api.github.com/repos/nodejs/node/pulls/8025/comments","review_comment_url":"https://api.github.com/repos/nodejs/node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodejs/node/issues/8025/comments","statuses_url":"https://api.github.com/repos/nodejs/node/statuses/e78fa6c8916723439b2a081a83b03ce5819c34cd","head":{"label":"phillipj:backport-doc-server-port","ref":"backport-doc-server-port","sha":"e78fa6c8916723439b2a081a83b03ce5819c34cd","user":{"login":"phillipj","id":1231635,"avatar_url":"https://avatars.githubusercontent.com/u/1231635?v=3","gravatar_id":"","url":"https://api.github.com/users/phillipj","html_url":"https://github.com/phillipj","followers_url":"https://api.github.com/users/phillipj/followers","following_url":"https://api.github.com/users/phillipj/following{/other_user}","gists_url":"https://api.github.com/users/phillipj/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipj/subscriptions","organizations_url":"https://api.github.com/users/phillipj/orgs","repos_url":"https://api.github.com/users/phillipj/repos","events_url":"https://api.github.com/users/phillipj/events{/privacy}","received_events_url":"https://api.github.com/users/phillipj/received_events","type":"User","site_admin":false},"repo":{"id":36032522,"name":"node","full_name":"phillipj/node","owner":{"login":"phillipj","id":1231635,"avatar_url":"https://avatars.githubusercontent.com/u/1231635?v=3","gravatar_id":"","url":"https://api.github.com/users/phillipj","html_url":"https://github.com/phillipj","followers_url":"https://api.github.com/users/phillipj/followers","following_url":"https://api.github.com/users/phillipj/following{/other_user}","gists_url":"https://api.github.com/users/phillipj/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipj/subscriptions","organizations_url":"https://api.github.com/users/phillipj/orgs","repos_url":"https://api.github.com/users/phillipj/repos","events_url":"https://api.github.com/users/phillipj/events{/privacy}","received_events_url":"https://api.github.com/users/phillipj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phillipj/node","description":"Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:","fork":true,"url":"https://api.github.com/repos/phillipj/node","forks_url":"https://api.github.com/repos/phillipj/node/forks","keys_url":"https://api.github.com/repos/phillipj/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phillipj/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phillipj/node/teams","hooks_url":"https://api.github.com/repos/phillipj/node/hooks","issue_events_url":"https://api.github.com/repos/phillipj/node/issues/events{/number}","events_url":"https://api.github.com/repos/phillipj/node/events","assignees_url":"https://api.github.com/repos/phillipj/node/assignees{/user}","branches_url":"https://api.github.com/repos/phillipj/node/branches{/branch}","tags_url":"https://api.github.com/repos/phillipj/node/tags","blobs_url":"https://api.github.com/repos/phillipj/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phillipj/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phillipj/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/phillipj/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phillipj/node/statuses/{sha}","languages_url":"https://api.github.com/repos/phillipj/node/languages","stargazers_url":"https://api.github.com/repos/phillipj/node/stargazers","contributors_url":"https://api.github.com/repos/phillipj/node/contributors","subscribers_url":"https://api.github.com/repos/phillipj/node/subscribers","subscription_url":"https://api.github.com/repos/phillipj/node/subscription","commits_url":"https://api.github.com/repos/phillipj/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/phillipj/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/phillipj/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/phillipj/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/phillipj/node/contents/{+path}","compare_url":"https://api.github.com/repos/phillipj/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phillipj/node/merges","archive_url":"https://api.github.com/repos/phillipj/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phillipj/node/downloads","issues_url":"https://api.github.com/repos/phillipj/node/issues{/number}","pulls_url":"https://api.github.com/repos/phillipj/node/pulls{/number}","milestones_url":"https://api.github.com/repos/phillipj/node/milestones{/number}","notifications_url":"https://api.github.com/repos/phillipj/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phillipj/node/labels{/name}","releases_url":"https://api.github.com/repos/phillipj/node/releases{/id}","deployments_url":"https://api.github.com/repos/phillipj/node/deployments","created_at":"2015-05-21T19:15:47Z","updated_at":"2016-02-24T07:18:06Z","pushed_at":"2016-08-22T08:31:48Z","git_url":"git://github.com/phillipj/node.git","ssh_url":"git@github.com:phillipj/node.git","clone_url":"https://github.com/phillipj/node.git","svn_url":"https://github.com/phillipj/node","homepage":"https://nodejs.org","size":207968,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nodejs:v4.x-staging","ref":"v4.x-staging","sha":"a0a1de1fbec3fd59e0d20b2b12df50daf8eda3ee","user":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":27193779,"name":"node","full_name":"nodejs/node","owner":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodejs/node","description":"Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:","fork":false,"url":"https://api.github.com/repos/nodejs/node","forks_url":"https://api.github.com/repos/nodejs/node/forks","keys_url":"https://api.github.com/repos/nodejs/node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/node/teams","hooks_url":"https://api.github.com/repos/nodejs/node/hooks","issue_events_url":"https://api.github.com/repos/nodejs/node/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/node/events","assignees_url":"https://api.github.com/repos/nodejs/node/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/node/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/node/tags","blobs_url":"https://api.github.com/repos/nodejs/node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/node/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/node/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/node/languages","stargazers_url":"https://api.github.com/repos/nodejs/node/stargazers","contributors_url":"https://api.github.com/repos/nodejs/node/contributors","subscribers_url":"https://api.github.com/repos/nodejs/node/subscribers","subscription_url":"https://api.github.com/repos/nodejs/node/subscription","commits_url":"https://api.github.com/repos/nodejs/node/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/node/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/node/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/node/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/node/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/node/merges","archive_url":"https://api.github.com/repos/nodejs/node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/node/downloads","issues_url":"https://api.github.com/repos/nodejs/node/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/node/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/node/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/node/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/node/releases{/id}","deployments_url":"https://api.github.com/repos/nodejs/node/deployments","created_at":"2014-11-26T19:57:11Z","updated_at":"2016-08-24T14:04:52Z","pushed_at":"2016-08-24T14:10:40Z","git_url":"git://github.com/nodejs/node.git","ssh_url":"git@github.com:nodejs/node.git","clone_url":"https://github.com/nodejs/node.git","svn_url":"https://github.com/nodejs/node","homepage":"https://nodejs.org","size":293675,"stargazers_count":26015,"watchers_count":26015,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4024,"mirror_url":null,"open_issues_count":750,"forks":4024,"open_issues":750,"watchers":26015,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodejs/node/pulls/8025"},"html":{"href":"https://github.com/nodejs/node/pull/8025"},"issue":{"href":"https://api.github.com/repos/nodejs/node/issues/8025"},"comments":{"href":"https://api.github.com/repos/nodejs/node/issues/8025/comments"},"review_comments":{"href":"https://api.github.com/repos/nodejs/node/pulls/8025/comments"},"review_comment":{"href":"https://api.github.com/repos/nodejs/node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodejs/node/pulls/8025/commits"},"statuses":{"href":"https://api.github.com/repos/nodejs/node/statuses/e78fa6c8916723439b2a081a83b03ce5819c34cd"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":6,"review_comments":0,"commits":1,"additions":14,"deletions":11,"changed_files":2}}
{"actor":{"display_login":"jasnell"}}