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?

posta un anno fa318 visualizzazioni
1 Risposta
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
TECNICO DI SUPPORTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande