I am trying to deploy a PHP application which involves oAuth with twitter on a free hosted web server, but the application is not working and resulting in an error like the following:
Fatal error: Uncaught exception 'Exception' with message 'Request error for API call: connect() timed out!' in
/.../htdocs/src/codebird.php:1525 Stack trace: #0
/.../htdocs/src/codebird.php(1476): Codebird\Codebird->_callApiCurl('POST', 'oauth/request_t...', Array, false, false) #1
/.../htdocs/src/codebird.php(508): Codebird\Codebird->_callApi('POST', 'oauth/request_t...', Array, false, false) #2
/.../htdocs/index.php(13): Codebird\Codebird->__call('oauth_requestTo...', Array) #3
/.../htdocs/index.php(13): Codebird\Codebird->oauth_requestToken(Array) #4 {main} thrown in /.../htdocs/src/codebird.php on line 1525
The owner of the library i have used for the application suggests to check if any firewall on the web server is blocking the outbound port 443. Being a newbie on networking, my question is how do i figure out if the server is indeed blocking outbound port 443 connections. I tried to telnet from a windows machine on the domain name and port 443 and it shows blank screen which i read that suggests the port is open. Any help on this is much appreciated.