I have set a websocket
in a EC2
but I can not start the protocol.
It gives me the following errors:
[Thu Jun 07 14:04:45.363660 2018] [proxy:warn] [pid 9008] [client *****:37376] AH01144: No protocol handler was valid for the URL /ws2/server.php. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.
[Thu Jun 07 14:04:48.114988 2018] [proxy:error] [pid 9209] (111)Connection refused: AH00957: WS: attempt to connect to (IP publica de aws):59001 (dominio.com) failed
[Thu Jun 07 14:04:48.115025 2018] [proxy_wstunnel:error] [pid 9209] [client *****:37458] AH02452: failed to make connection to backend: dominio.com
When trying to launch the websocket directly from commands:
sudo php -q server.php
I receive the following error:
PHP Warning: socket_bind (): unable to bind address [99]: Can not assign requested address in /var/www/clients/client0/web1/web/ws2/class.PHPWebSocket.php on line 110
Someone with the same problem?