try to add the following line in /etc/hosts file:
/etc/hosts
127.0.0.1 app-name
And then access like:
http://app-name/graphql