1

nodejs dev, how do u remove port number from url, i'm startimg to like nodejs, but port number in url is luke marks on the moon 😠
ps i did google n SO but nothing worked

Comments
  • 4
    For a normal webapplication (using http), the default port is 80. So if you set you set your application's port to 80 you don't have to type it in in your browser. Is this what you meant?
  • 1
    @helloback + 443 which is for SSL/TLS, that one does not show up either.
  • 1
    Simply setting your PORT number to 80 will get rid of that. However, you're better off setting up a reverse proxy like nginx in a production environment, as it will handle things like load balancing, SSL, compression and more.
Add Comment