{"action":"created","issue":{"url":"https://api.github.com/repos/guzzle/guzzle/issues/1001","labels_url":"https://api.github.com/repos/guzzle/guzzle/issues/1001/labels{/name}","comments_url":"https://api.github.com/repos/guzzle/guzzle/issues/1001/comments","events_url":"https://api.github.com/repos/guzzle/guzzle/issues/1001/events","html_url":"https://github.com/guzzle/guzzle/issues/1001","id":60869399,"number":1001,"title":"Cannot use URL with PORT","user":{"login":"schleichermann","id":626596,"avatar_url":"https://avatars.githubusercontent.com/u/626596?v=3","gravatar_id":"","url":"https://api.github.com/users/schleichermann","html_url":"https://github.com/schleichermann","followers_url":"https://api.github.com/users/schleichermann/followers","following_url":"https://api.github.com/users/schleichermann/following{/other_user}","gists_url":"https://api.github.com/users/schleichermann/gists{/gist_id}","starred_url":"https://api.github.com/users/schleichermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schleichermann/subscriptions","organizations_url":"https://api.github.com/users/schleichermann/orgs","repos_url":"https://api.github.com/users/schleichermann/repos","events_url":"https://api.github.com/users/schleichermann/events{/privacy}","received_events_url":"https://api.github.com/users/schleichermann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-12T18:20:16Z","updated_at":"2015-12-12T19:27:30Z","closed_at":"2015-03-12T21:39:39Z","body":"I am using the latest version of guzzle. \r\n\r\n    (from composer.json)\r\n    \"guzzlehttp/guzzle\": \"~5\" \r\n\r\n    (from composer.lock)\r\n    \"name\": \"guzzlehttp/guzzle\",\r\n    \"version\": \"5.2.0\",\r\n\r\nWhen I attempt to request (GET or POST) with a URL that contains a PORT number:\r\n\r\n    $response = $client->get('http://www.hostdnshere.com:8888', array());\r\n\r\nI get the following error:\r\n\r\n    string(68) \"cURL error 7: Failed to connect to 000.000.000.000: Permission denied\"\r\n\r\nWhen I do the same but omit the PORT: \r\n\r\n    $response = $client->get('http://www.hostdnshere.com', array());\r\n\r\nThe request succeeds without issue. I have searched the documentation and Googled the web but cannot find out how to set the port for the host since it cannot be included.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/guzzle/guzzle/issues/comments/164177534","html_url":"https://github.com/guzzle/guzzle/issues/1001#issuecomment-164177534","issue_url":"https://api.github.com/repos/guzzle/guzzle/issues/1001","id":164177534,"user":{"login":"felipsmartins","id":454116,"avatar_url":"https://avatars.githubusercontent.com/u/454116?v=3","gravatar_id":"","url":"https://api.github.com/users/felipsmartins","html_url":"https://github.com/felipsmartins","followers_url":"https://api.github.com/users/felipsmartins/followers","following_url":"https://api.github.com/users/felipsmartins/following{/other_user}","gists_url":"https://api.github.com/users/felipsmartins/gists{/gist_id}","starred_url":"https://api.github.com/users/felipsmartins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipsmartins/subscriptions","organizations_url":"https://api.github.com/users/felipsmartins/orgs","repos_url":"https://api.github.com/users/felipsmartins/repos","events_url":"https://api.github.com/users/felipsmartins/events{/privacy}","received_events_url":"https://api.github.com/users/felipsmartins/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T19:27:30Z","updated_at":"2015-12-12T19:27:30Z","body":"@bigmeech Also, have you seen this: http://stackoverflow.com/questions/30363274/accessing-port-7000-from-openshift-server "}}