View the Project on GitHub xoxwgys56/xoxwgys56
curl -s localhost:80 >/dev/null && echo Success. || echo Fail. # Success.
or simply just
curl localhost:80
and check there is any response or not.