Scripto error: stream_socket_client permission denied

I am having this same problem in my installation (on AWS).
I get
ErrorException: stream_socket_client(): unable to connect to x.xxx.xxx.xxx:80 (Permission denied)

The IP is the same for Omeka S and MediaWiki. I can navigate to http://x.xxx.xxx.xxx: to see my Omeka site and I can navigate to http://x.xxx.xxx.xxx:/mediawiki/api.php to see my MediWiki. I can curl the MediaWiki address from both the server and my local Macintosh.

I am not using a proxy and everything is on the usual port number.
The access_log shows the request coming back with a status of 200, oddly.

I don’t think this is actually the same problem as the other thread, so I’ve moved it to a new one.

The “permission denied” error suggests to me that the module was not allowed to make a request at all. Does your server have SELinux enabled? There’s an SELinux option that can prevent PHP from making network requests.

Brilliant!!
getsebool httpd_can_network_connect
and I’m in business. Thanks so much.

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.