All websites get connection refused status and URL contains port number

Yes, I get the same output when pinging one of the earlier websites:

64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.112 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.160 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.164 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.234 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.309 ms