xoxwgys56

View the Project on GitHub xoxwgys56/xoxwgys56

Root

contents

send request with port

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.

Read more about ping-a-specific-port