DEV Community

Discussion on: Build an amazing Job Search App using React

Collapse
kene_nwobodo profile image
Kenechukwu Nwobodo

In the console this.
GET localhost:6000/jobs?description=Fr... net::ERR_UNSAFE_PORT

Happens anytime I click on search button in the UI

Thread Thread
myogeshchavan97 profile image
Yogesh Chavan Author • Edited on

Google chrome considers 6000 as an unsafe port. HERE is a list of unsafe ports which are not allowed by browser. Use any other port or 5000 as I have used in the project. Make sure to use the same port in src/utils/constants.js and server/server.js file also. You can anytime clone my repository from HERE to compare your code with mine and check if you missed anything.