Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

182
Visualizações
Connections using websockets using express

I am new at nodejs and websockets and i would like to have some explanation about this theme. I've already search over the internet and i can only find client/server connections and that is not what i am searching.

Basically, i have a nodejs server named "servertes.js" with localhost:8080 that is hosting my webpage.

I need to send requests from my webpage to one external server "extServer.js" with 127.0.0.1:3000 that is already made and i don't have control over it. The only server that i have control is "servertest.js".

All the requests must be received by servertest.js that sends the request to the extServer.js and vice-versa.

      ---------           ---------------         --------------
     | Webpage | <------>| servertest.js |<----->| extServer.js |
      ---------           ---------------         --------------
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

In this scenario you act as the client from your controlled server. Sockets are always host/server to client/receiver.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda