No route to host when connect using instance private ip address

0

OS: Amazon Linux 2023

I'm able to connect to the local server within the instance using 127.0.0.1, but I receive "No route to host" when connecting using instance's private IP address (e.g. 10.0.22.42). I am able to connect to this IP address from a different instance within the same VPC.

What I need to do so I can connect to a local server in the same instance using instance's private IP address?

Thanks, Kevin

feita há 7 meses396 visualizações
3 Respostas
0
Resposta aceita

The issue is in the iptables configuration: -P FORWARD DROP

respondido há 7 meses
0

Are you 100% sure the IP address is correct? Any screenshots would be benifical too.

profile picture
ESPECIALISTA
respondido há 7 meses
0

Hi Gary,

Thanks for responding. Yes, the IP address is 100% correct. It's like caused by recent version of Docker.

Enter image description here

Running Docker version 24.0.5, build ced0996

respondido há 7 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas