I'm trying to do a msg.http
to a localhost url, but I am getting back the following error:
Error: connect EINVAL 0.0.xx.xx:80 - Local (0.0.0.0:0)
Does anyone know a fix for this?
Edit: I can of course access the url in the browser.
I've tried (unsuccessfully) to try faking a redirect (using Ubuntu's /etc/hosts file))
Playing around with the hosts file fixed it!