Socket.io is not working after deployment - throwing an error - 405 (Not Allowed)
Looks like you have nginx in your ec2 server, if yes you need to have the config below
location /static { try_files $uri =404;}location /socket.io { proxy_pass http://node; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; add_header Front-End-Https on;}error_page 405 @nodejs;