php - PHRETS Works Locally But Times Out On Web Server -


i installed phrets composer , have been able print information using cmd terminal , following docs. tried uploading files web server, page times out.

my error log shows following:

php fatal error:  uncaught exception 'guzzlehttp\ring\exception\connectexception' message 'curl error 7: failed connect rets-rald.realtyserver.com port 6103: connection timed out' in /public_html/phrets/vendor/guzzlehttp/ringphp/src/client/curlfactory.php:126 stack trace: #0 /public_html/phrets/vendor/guzzlehttp/ringphp/src/client/curlfactory.php(91): guzzlehttp\ring\client\curlfactory::createerrorresponse(array, array, array) #1 /public_html/phrets/vendor/guzzlehttp/ringphp/src/client/curlhandler.php(96): guzzlehttp\ring\client\curlfactory::createresponse(array, array, array, array, resource id #69) #2 /public_html/phrets/vendor/guzzlehttp/ringphp/src/client/curlhandler.php(68): guzzlehttp\ring\client\curlhandler->_invokeasarray(array) #3 /public_html/phrets/vendor/guzzlehttp/ringphp/src/client/middleware.php(54): guzzlehttp\ring\client\curlhandler->__invoke(array) #4 /public_html/phrets/vendor/guzzlehttp/ringphp/src/client/middlewa in /public_html/phrets/vendor/guzzlehttp/guzzle/src/exception/requestexception.php on line 49 

how can working on web server? below configuration.

$config = new \phrets\configuration; $config->setloginurl('http://rets-rald.realtyserver.com:6103/saskatchewan/rets/login'); $config->setusername('username'); $config->setpassword('password'); $config->setretsversion('1.5'); $config->setuseragent('phrets/2.0'); $config->sethttpauthenticationmethod('digest'); $config->setoption('use_post_method', false); $config->setoption('disable_follow_location', false); 

turns out, needed enable port 6103 on server.


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -