javascript - Socket.IO Without Port Number -


do have use port number run socket.io or possible access socket.io in client side without port number?

https://mydomain.com/chat2.html  not https://mydomain.com:3000/chat2.html 

i read somewhere use nginx not sure how implement it, in nodejs! or can use .htaccess mirroring domain?

for http, if no port number specified, browser defaults port 80.

for https, if no port number specified, browser defaults port 443.

so, if want use https url without port number, server needs listening on port 443 because default port number browser use when no port number specified in https url.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

How do you convert a timestamp into a datetime in python with the correct timezone? -