404 error on requests to peerjs server on port 443 in an ec2 instance

0

I made a simple WebRTC web app using socket.io and peerjs, it works fine when I tested it locally using port 3001. After i hosted it on an ec2 instance, connecting it with a domain accessed through https, with only changing the peerjs port from 3001 to 443, the website and camera open but the connection to the peerjs server returns 404

已提問 1 年前檢視次數 549 次
1 個回答
1

A 404 error indicates that the web server is running correctly but the request was for a resource that can't be found. Check your web server logs to see what is being requested; and make sure that the web server knows where the requested object is on the filesystem.

profile pictureAWS
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南