Cannot access service by IP (localhost or 127.0.0.1 works)
I can't access the service from my own IP, but 127.0.0.1 works can you tell me why and help me out?
when i start with :
mock-server --address=119.254.100.35 --dir=/root/mockServer
it occours:
Traceback (most recent call last):
File "/usr/local/bin/mock-server", line 66, in
I can't access too
You can use nginx to make a proxy.
You can use nginx to make a proxy.
Thanks
You can use nginx to make a proxy.
This is a good idea, but this bug needs to be fixed.
Its not a bug, the server is only listening on the loop-back address, 127.0.0.1. Looks like there is a '--address' which you can use to specify the IP address to listen to.
Try adding --address=0.0.0.0