flomesh-io / pipy

Pipy is a programmable proxy for the cloud, edge and IoT.
https://flomesh.io/pipy
Other
743 stars 70 forks source link

admin-port visit not found #157

Closed leland17 closed 8 months ago

leland17 commented 1 year ago

Bug Report

Make sure to review these points before submitting issues - thank you!

so bad, follow the instruction and do not find the visit the 6060 port;

image

1687049887425

khas-flomesh commented 1 year ago

Hello Liao,

The admin port does exist, you could found that's HTTP 404, not connection refused. Please try:

http://localhost:6060/

Cheers, Kevein

leland17 commented 1 year ago

tab the command build.sh -h, it could find that pipy binary is builded without GUI by default.

pajama-coder commented 1 year ago

Hi @leland17 When built without GUI, curling localhost:6060 will give you 404 because that's where the homepage is supposed to be accessed by a browser, however, other admin paths that are not browser/GUI related should work just fine. For instance, you can curl localhost:6060/repo and get a list of all codebases currently in the repo.

Make sure you build Pipy with GUI included (build.sh -g) to have localhost:6060 available to browsers.

This is not a bug.