New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying -http=":" to start an interactive web interface throws an error #413

jagandecapri opened this Issue Aug 19, 2018 · 1 comment


None yet
2 participants

jagandecapri commented Aug 19, 2018

What version of pprof are you using?

I'm using pprof via go tool pprof installed with Go version go1.10.3 windows/amd64. I'm invoking the go tool pprof from Git bash installed with Git version

What operating system and processor architecture are you using?


What did you do?

Start an interactive web-based interface to pprof by specifying -http=":"

What did you expect to see?

An interactive web-based interface is started in my localhost on a random port as documented in which states that

-http=":" starts a server locally at a random port.

What did you see instead?

An error is shown; invalid port number: strconv.Atoi: parsing "": invalid syntax


This comment has been minimized.


aalexand commented Aug 20, 2018

Looking at, it appears that go 1.10.3 didn't have the fix 7a927a9#diff-8cab3d39997787bf3d625391eb003743. You can either use latest pprof from this repo, or specify the desired port like "-http :8080".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment