sosedoff / pgweb

Cross-platform client for PostgreSQL databases
https://sosedoff.github.io/pgweb
MIT License
8.63k stars 732 forks source link

Can't get it to run #411

Closed majestique closed 5 years ago

majestique commented 5 years ago

After installing it on CentOS:

curl -s https://api.github.com/repos/sosedoff/pgweb/releases/latest \ | grep linux_amd64.zip \ | grep download \ | cut -d '"' -f 4 \ | wget -qi - \ && unzip pgweb_linux_amd64.zip \ && rm pgweb_linux_amd64.zip \ && mv pgweb_linux_amd64 /usr/local/bin/pgweb

We just execute: pgweb --host localhost --user myuser --pass mypw --db mydb

and it should run on port 8081?

I keep on getting this: image

sosedoff commented 5 years ago

Well, if the authentication credentials are correct - yes, you should be able to start pgweb and access it on port 8081. Looks like you might have some modifications made to authentication methods in your pg_hba.conf file, which produces the error you're seeing.

majestique commented 5 years ago

Thanks for that, it's running now and it looks like it's listening but I can't seem to connect. (I can connect to port 5432) just fine. image

image

I can connect to port 5432 just fine: image

my firewall is open on port 8081 as well: image

Any idea why it's not working?

majestique commented 5 years ago

Got it to run with --bind=0.0.0.0