Https: //Localhost:443 Becomes Https: //Localhost

I launch a web application by sudo PORT=443 HTTPS=true ./node_modules/.bin/react-scripts start.

Then, I run in a browser. It does open the start page, but the url becomes .

Could anyone tell me why becomes ?

PS: The browser is Chrome.

2

1 Answer

HTTP default hidden port is 80, while HTTPs is 443.

Example:

 | 

 | 

443 is the default port for HTTPs websites.

For example,

Is the same as

and

Is the same as

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest