简体   繁体   中英

Error: connect EINVAL hubot

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))

用hosts文件玩转修复吧!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM