简体   繁体   中英

BlueHost - No such file or directory Is the server running locally and accepting connections on Unix domain socket “/tmp/.s.PGSQL.5432”

I am currently trying to run my application on BlueHost.

I already clone, setup, and install the application.

When I tried rails s the application can running on http://my.domain.com:3000

But it's return

could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

I am using PG for the database but I am not sure why this happens.

After did some research this is happen because I need to reconfigure PG user and database manually. And it working like charms. Thanks a lot guys.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM