TCP port unavailable on lightsail container

0

Hi, I installed node-red with docker and lightsail container. In my node-red app I have a 'tcp in' process that needs to listen on port 4000 but lightsail seems to be blocking the port. I have configured the public termination port to http port 1880 and added tcp port 4000 in the install but it doesn't work. Could you help me please?

feita há um ano316 visualizações
1 Resposta
0

Hello,

Thank you for using Amazon Lightsail Container Services.

I understand that you are trying to expose TCP port 4000 of your node-red container but that port is not accessible via internet.

Please note that, the public endpoint of Lightsail container service supports HTTP/HTTPS only, and it does not support TCP or UDP traffic. This means you won't be able to expose port 4000/TCP over the Internet directly.

As a work-around, you may set up a proxy container that communicates to the Internet via HTTP/HTTPS and forwards requests along to the TCP container over port 4000.

You may refer the following Lightsail article for more details about container public endpoints.

[+] https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-container-services#container-services-endpoints-domains

If you need any further assistance, I encourage you to open a support case, so that one of our support engineers can inspect the details of the Lightsail container, and provide further assistance.

AWS
ENGENHEIRO DE SUPORTE
respondido há um ano

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