FWeinb / electron-screenshot-service

Take screenshots using electron
MIT License
141 stars 26 forks source link

PORT issue on windows #27

Closed peerbolte closed 8 years ago

peerbolte commented 8 years ago

on windows, there is an issue when connecting to the sockets.

Uncaught Exception:
Error: connect EADDRNOTAVAIL 0.0.0.0:7601
    at Object.exports._errnoException (util.js:949:11)
    at exports._exceptionWithHostPort (util.js:972:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1080:14)

It seems like axon is using 0.0.0.0 as a default ip address, while this might not be wanted. I think it might be an elegant solution to create an environment variable for HOST: pull request

when specifying 127.0.0.1 the issue goes away

FWeinb commented 8 years ago

Fixed by #26