Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

280
Views
lynx: no se puede conectar al host remoto - ¿Problema con Docker-compose?

Estoy tratando de iniciar los siguientes dos servicios mongo y OHIF-Viewer como se menciona a continuación en el archivo docker-compose

 version: '3.6' services: mongo: image: "mongo:latest" container_name: ohif-mongo ports: - "27017:27017" viewer: image: ohif/viewer:latest container_name: ohif-viewer ports: - "3030:80" - "3031:443" network_mode: "host" environment: - MONGO_URL=mongodb://mongo:27017/ohif extra_hosts: - "pacsIP:172.xx.xxx.xxx" volumes: - ./dockersupport-app.json:/app/app.json

Como se muestra en el archivo acoplable anterior, tengo dos servicios. Y cuando hago lynx localhost:27017, puedo ver que devuelve un resultado válido. mientras que cuando hago lynx localhost:3030 o lynx localhost:3031, aparece el siguiente mensaje de error como

 Looking up localhost first Looking up localhost:3031 Making HTTP connection to localhost:3031 Alert!: Unable to connect to remote host. lynx: Can't access startfile http://localhost:3031/

Tenga en cuenta que, según algunas respuestas del foro SO, ya configuré export WWW_HOME= " http://www.google.com/ " antes de emitir el comando lynx también.

Cuando ejecuto el archivo docker-compose, el comando se ejecutó correctamente pero no puedo conectarme a lynx localhost:3031 o lynx localhost:30. ¿Cómo puedo conectarme a estos dos puertos?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!