google / battery-historian

Battery Historian is a tool to analyze battery consumers using Android "bugreport" files.
Other
5.32k stars 959 forks source link

http://localhost:9999 can not open #138

Open 09308910112 opened 7 years ago

09308910112 commented 7 years ago

D:\Workspace\Go\src\github.com\google\battery-historian>go run cmd/battery-historian/battery-historian.go 2017/10/24 11:14:57 Listening on port: 9999

then i can't open http://localhost:9999

follow is the return:

当尝试取回该 URL 时遇到下面的错误:http://localhost:9999/ 连接到 ::1 失败。 系统返回以下内容:(111) Connection refused The remote host or network may be down. Please try the request again. 缓存服务器的管理员 root.

andylamp commented 7 years ago

@09308910112 the port you are requesting is not the one you should go to from your browser...

Say for example you executed battery-historian from Powershell like so:

docker run -p 20000:9999 gcr.io/android-battery-historian/stable:3.0 --port 9999

Then you should go to the following address in your browser: http://localhost:20000.

Hope this helps...