2 Respostas
- Mais recentes
- Mais votos
- Mais comentários
0
Hello.
Is it possible to communicate when accessing with "localhost:6000"?
0
The problem I had is actually with the service within the container (was unresponsive), not the inter-container communication. I sanity tested with a different viable service and was able to reach from one container to another using the private domain as stated in the documentation.
Just to be clear, for a deployment foo
with two containers A and B, with container B listening on port 6000, A is able to make http requests to B using host foo.service.local:6000
.
respondido há 9 meses
Conteúdo relevante
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos
- AWS OFICIALAtualizada há 2 anos
No, using localhost:6000 does not work.
Thanks for the reply.
It seems to be able to communicate with "localhost:<port number>".
https://repost.aws/ja/questions/QUoYzGuzJBSE-0iWuBeliLaw/communication-between-lightsail-containers
How are Lightsail containers configured?