Quantcast
Viewing all articles
Browse latest Browse all 171679

Connection refused when connecting to itself

I have installed Proxmox 3.1 and OpenVZ container with apache. I have redirected traffic on port 80 to that instance with
Code:

iptables -t nat -A PREROUTING -p TCP -i eth0 --dport 80 -j DNAT --to 10.0.0.3:80
When I am logged on the host or in the container and execute telnet 1.1.1.1 80 where 1.1.1.1 is my public IP assigned to the host, I get "Connection refused".

If I am logged from another server and execute the same command, connection is established, so the problem is only when connection is from host to itself. The same thing happens with other ports too, but ssh connection with
telnet 1.1.1.1 22 is OK.

Is there some Proxmox settings that can cause this? Is there some software (firewall for example) in default Proxmox installations that can cause this?



Viewing all articles
Browse latest Browse all 171679

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>