I have a request from https://example.com to https://example.com:8080 which works here, however on another network and on a 4Glte network connection I get an error that https://example.com cannot read the message from example.com:8080/socket.io/.
I've setup my .htaccess to allow cross domain requests from the same domain, like this:
<IfModule mod_headers.c>
<FilesMatch ".*$">
Header set Access-Control-Allow-Origin https://example.com
Header set Access-Control-Allow-Origin https://example.com:8080
Header set Access-Control-Allow-Origin http://example.com
Header set Access-Control-Allow-Origin http://example.com:8080
</FilesMatch>
</IfModule>
And although this works from one connection, it doesn't work from the others. Why could this be?