TYMichaelsen / covid19

Bioinformatic pipelines used to assemble SARS-CoV-2 genomes from DK
GNU General Public License v3.0
3 stars 3 forks source link

Cannot connect to Neo4J instance created from sif file #17

Closed tomersagi closed 4 years ago

tomersagi commented 4 years ago

To reproduce:

  1. Run ./start_neo4j.sh
  2. sudo singularity shell instance://ne4j1
  3. Singularity> curl http://localhost:7474/ You should get a welcome message from neo4j.
  4. exit
  5. curl http://localhost:7474/
  6. You get a 'Connection refused' message.

Ideas:

  1. Perhaps when connecting to the instance, neo4j is getting a connection request not from localhost - check neo4j connection logs
tomersagi commented 4 years ago

fixed by adding a line to listen on 0.0.0.0 to the conf file using this hint: https://stackoverflow.com/questions/29487042/failed-connect-to-localhost7474-connection-refused-where-is-the-neo4j-server

tomersagi commented 4 years ago

New issue - how to map multiple ports in the portmap

tomersagi commented 4 years ago

Resolved by connecting directly to the neo4j instance.