ubuntu 16.04 - When I create gatsby hot-reloading development environment on my server my IP address it will gives error -
when create gatsby hot-reloading development environment on server ip run following commands
sudo gatsby develop --host http://34.211.109.30 --port 9000
then give following error.
events.js:160 throw er; // unhandled 'error' event ^ error: getaddrinfo enotfound http://34.211.109.30 @ errnoexception (dns.js:28:10) @ getaddrinforeqwrap.onlookup [as oncomplete] (dns.js:76:26)
but ip publicly accessible.but when run commands
gatsby build
then listen on http://localhost:8000
please me
drop protocol. --host
expecting ip address.
this should supported though — created issue support supplying protocol.
Comments
Post a Comment