I want to open my angular app other than localhost for my development purpose but running into below error, any guidance on how to fix it?
username$ ng serve --open --host=ibaitdev.company.com
getaddrinfo ENOTFOUND ibatdev.company.com
Error: getaddrinfo ENOTFOUND ibatdev.company.com
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)
I changed my /etc/hosts as below
#
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 ibaitdev.company.com
255.255.255.255 broadcasthost
::1 ibaitdev.company.com
ng servewith the correct hostname? The error output still showsibatdev.