错误 - ListenerManager 无法初始化 httpstransport 侦听器 - WSO2

2022-01-17 00:00:00 https wso2 java wso2-am wso2carbon

我启动了 WSO2 API Manager 1.8 的新副本,但无缘无故地出现以下错误.

I started fresh copy of the WSO2 API Manager 1.8 and get below error for no reason.

ERROR - ListenerManager Couldn't initialize the httpstransport listener

我该如何解决这个问题?

How can I fix this?

推荐答案

通过运行以下命令检查系统主机名

Check the system hostname by running following command

$ hostname

尝试 ping 到该主机名的输出.

try to ping to the output for that hostname.

$ ping <output of the hostname command>

如果出现错误,请检查 /etc/hosts 文件.至少它应该有一个到 127.0.0.1 的主机条目

If that gives an error check the /etc/hosts file. At least it should have a host entry to 127.0.0.1

127.0.0.1 <hostname>
or 
<local ip> <hostname>

相关文章