I have a wonderfully working apache server, you can connect to it from LAN and from the Internet, no problems, ports are forwarded. And with my website in LAN, he also gets along.
But there was a tough need for my local network to access the server via external ip. This was due to mod_proxy_wstunnel, which apparently establishes a connection with a local socket via an external connection, since when I connect to my web sites via a server from the Internet, I always get the same error as if I tried to connect to my local server through an external ip, for this I specifically created situations with different errors.
What do I need to do?
My only host is:
<VirtualHost *:80> ServerAdmin admin@diskyp DocumentRoot "D:/XAMPP/htdocs/site" ServerName serv ErrorLog "logs/serv-error.log" CustomLog "logs/serv-access.log" common ProxyRequests Off ProxyPreserveHost On ProxyVia On SSLProxyEngine on <Proxy *> Options FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Proxy> ProxyPass /ws/ ws://127.0.0.1:8080/chat ProxyPassReverse /ws/ ws://127.0.0.1:8080/chat Header set Connection "upgrade" Header set Upgrade "websocket" </VirtualHost> In httpd.conf ServerName localhost:80 and Listen *:80 , more, I suppose, there is nothing interesting.