When I am trying to 'npm start' react app https://github.com/0wczar/airframe-react and then go to local server at http://0.0.0.0:4100/ I got ERR_ADDRESS_INVALID. What should I do to repair my local server?
Asked
Active
Viewed 844 times
0
-
2Possible duplicate of [Web.py "Hello world" not working - ERR\_ADDRESS\_INVALID](https://stackoverflow.com/questions/48926218/web-py-hello-world-not-working-err-address-invalid) – jmargolisvt Nov 13 '19 at 18:27
-
@JuChengJiang The question is about IP addresses. It isn't specific to React or Python. – Code-Apprentice Nov 13 '19 at 18:30
-
Yes. you are right. :) – Rise Nov 13 '19 at 18:32
1 Answers
2
You are entered the wrong server URL. It should be localhost or 127.0.0.1, I think.
http://localhost:4100
or
http://127.0.0.1:4100

Code-Apprentice
- 81,660
- 23
- 145
- 268

Rise
- 1,493
- 9
- 17
-
Thanks! http://localhost:4100 works. But why it's that URL? When vs code tells me that it should be http://0.0.0.0:4100/? – modsell Nov 13 '19 at 18:30
-
@modsell `0.0.0.0` is not a valid address. See the link below your question for an explanation. – Code-Apprentice Nov 13 '19 at 18:31
-
It may help you to understand the difference. https://serverfault.com/questions/78048/whats-the-difference-between-ip-address-0-0-0-0-and-127-0-0-1 – Rise Nov 13 '19 at 18:34