How can I open Google Chrome from the terminal with the URL "localhost:3000"?

Have you tried?

google-chrome http://localhost:3000

Got the following message:

zsh(or bash): command not found: google-chrome (or chromium-browser)

Solved my problem:

open http://localhost:3000

{ I use Google Chrome as a default browser }


I don't seem to have this problem.

chromium "http://localhost:8889"
chromium "http://127.0.0.1:8889"

One quick suggestion would be to check to see if 127.0.0.1:3000 works (newer versions of ubuntu seem to have an issue resolving "localhost" instead of the numbered IP address.)