If you feel this is getting important to change the React JS project host, then this maybe going to help you. Feel free to drop your query on your comment if you face any problem. Thank you.
Host and port change React JS local project
Step 1: press window + R and search drivers
Step 2: go to etc>hosts and open the file with notepad++
Step 3: The default DNS is
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
Lets make a new DNS
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1
frontend.test
Step 4: go to react project and make a .env file
Step 5: modify the .env file with
PORT=80
HOST=frontend.test
Step 6: Restart the react server and rock