iam able to identify the issue. it is bcz ipv4 loopback address is not reachable
ping 127.0.0.1
Pinging 127.0.0.1 with 32 bytes of data:
General failure.
General failure.
General failure.
General failure.
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),