Curl: (7) failed to connect

If you're not familiar with localhost, then check out https://whatismyipaddress.com/localhost

You need to set network.host to something, 0.0.0.0 will bind to all IPs and interfaces on the host, if that is what you want.