You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "DoodleBears (via GitHub)" <gi...@apache.org> on 2023/07/10 12:19:23 UTC

[GitHub] [incubator-hugegraph-toolchain] DoodleBears opened a new issue, #490: [Bug] hubble can't use localhost/0.0.0.0

DoodleBears opened a new issue, #490:
URL: https://github.com/apache/incubator-hugegraph-toolchain/issues/490

   ### Bug Type (问题类型)
   
   dashboard render (前端渲染问题)
   
   ### Before submit
   
   - [X] I had searched in the [issues](https://github.com/apache/hugegraph-toolchain/issues) and found no similar issues.
   
   ### Environment (环境信息)
   
   - Server Version: v1.0.0:latest [Docker]
   - Hubble Version: v1.6.0:latest [Docker]
   - Data Size:  2 vertices, 1 edges
   
   ### Expected & Actual behavior (期望与实际表现)
   
   It shows error when I use `docker run -itd --name=graph -p 18080:8080 hugegraph/hugegraph` to run the docker.
   
   ```
   服务 localhost:8080 不可用
   ```
   
   can be fixed by using local IP address like `docker run -itd --name=graph -p 192.168.1.204:18080:8080/tcp`
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   _No response_
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


[GitHub] [incubator-hugegraph-toolchain] aroundabout commented on issue #490: [Bug] hubble can't use localhost/0.0.0.0 in docker env

Posted by "aroundabout (via GitHub)" <gi...@apache.org>.
aroundabout commented on issue #490:
URL: https://github.com/apache/incubator-hugegraph-toolchain/issues/490#issuecomment-1636814134

   The backend of hubble tried to connect to the localhost:8080, but the backend was in the docker container and the localhost was the container. 
   If you want to use localhost directly, you can use `sudo docker run -itd --name graph --network host hugegraph/hugegraph` and `sudo docker run -itd --name fe --network host hugegraph/hubble`.
   With host mode, the container will share the network with the host machine.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org


[GitHub] [incubator-hugegraph-toolchain] DoodleBears commented on issue #490: [Bug] hubble can't use localhost/0.0.0.0 in docker env

Posted by "DoodleBears (via GitHub)" <gi...@apache.org>.
DoodleBears commented on issue #490:
URL: https://github.com/apache/incubator-hugegraph-toolchain/issues/490#issuecomment-1636838606

   > The backend of hubble tried to connect to the localhost:8080, but the backend was in the docker container and the localhost was the container. If you want to use localhost directly, you can use `sudo docker run -itd --name graph --network host hugegraph/hugegraph` and `sudo docker run -itd --name fe --network host hugegraph/hubble`. With host mode, the container will share the network with the host machine.
   
   Thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org