need to set server.socket_host when running inside docker
ckhung opened this issue · 0 comments
ckhung commented
If you run word2vec-explorer inside a docker, you may not be able to view it from the host. That's because by default CherryPy binds to 27.0.0.1, allowing access only from localhost (the docker container). For other hosts to see the service, you need to add
cherrypy.config.update( {'server.socket_host': '0.0.0.0'} )
near the end of explore, just before cherrypy.quickstart(app)