欢迎来到博达网站群学习网!
|
当前位置: 九游会 >> 知识库 >> 部署类 >> 数据库 >> 正文

pgsql启动时报错无法监听localhost -九游会

发布时间:2016-08-03    浏览次数:次

现象

pgsql启动时报错:无法监听localhost。如下图:

原因

系统缺少hosts文件,无法正常解析localhost

     

解决方法

执行命令:vi /etc/hosts 创建/etc/hosts文件,添加内容:

127.0.0.1    localhost

网站地图