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

122
Visualizações
Socket.io slow on local network

I'm trying to test a socket.io page, so I have a webserver (XAMPP) running on my machine. I know why you shouldn't use your own computer to host websites, and this website will never go public anyways. It's just a test page.

To configure socket.io to work with devices outside my home network, I use the line io('http://my-public-ip:3001');, instead of what I was using for testing, io('http://localhost:3001');. This works great for devices outside my network (I tested it, and it works well), but not so much for the ones on it. For example, trying to go to the page from my computer via its own public IP or localhost just results in a slow connection at best that doesn't usually work.

Any help is much appreciated!

about 4 years ago · Juan Pablo Isaza
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