Local apache server on PC - PHP cannot connect to other remote server -


i using ubuntu 14.04 lts in vm (referring pc a).
installed local apache server on pc php5 developing. want access remote server php-script running on pc 1 of production servers s. in fact calling web-api-url on server s.
server s reachable internet , can connect via ssh pc server s. installed application on server s reachable.

the php script etc correct , works. debug point should connect remote server. doesn't.

do need add config php/apache allow connections remote server?

i missing curl libs. after installing php5-curl works fine. , did not error messages, because display_erros not activated.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -