Express + react ip address cannot be accessed

create-react-app
Express

Program release localhost+port access is normal, but ip+port access is not normal. Do you know if anyone has encountered it?

Jun.10,2021

should be the listening address is written as localhost, to find out which side of the item has the words localhost or listen, and change localhost to '0.0.0.0'


the HOST file of your computer system is not configured with localhost 127.0.0.1

Menu