Cannot post request to localdomain 127.0.0.1:80 in RHEL7

When I try to post request to 127.0.0.1, it shows error as:

Post dial tcp 127.0.0.1:80: connect: connection refused

I have tried following:

Wget:

wget 127.0.0.1
--2020-04-02 09:52:01--
Connecting to 127.0.0.1:80... failed: Connection refused.

Traceroute:

traceroute 127.0.0.1
traceroute to 127.0.0.1 (127.0.0.1), 30 hops max, 60 byte packets 1 localhost (127.0.0.1) 0.062 ms 0.029 ms 0.027 ms

Ping:

ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
^C
--- 127.0.0.1 ping statistics ---
87 packets transmitted, 0 received, 100% packet loss, time 86006ms

Can anyone help with configuring this.

10 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like