[
https://issues.apache.org/jira/browse/ROCKETMQ-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
yubaofu updated ROCKETMQ-277:
-----------------------------
Description: if server hostname not in /etc/hosts,
org.apache.rocketmq.common.MixAll#localhost throw UnknownHostException (was:
if server hostname not in /etc/hosts,
```org.apache.rocketmq.common.MixAll#localhost`` thorw UnknownHostException )
> get localhost throw java.net.UnknownHostException,when not hostname in
> /etc/hosts
> ---------------------------------------------------------------------------------
>
> Key: ROCKETMQ-277
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-277
> Project: Apache RocketMQ
> Issue Type: Bug
> Components: rocketmq-client, rocketmq-commons
> Affects Versions: 4.0.0-incubating, 4.1.0-incubating
> Reporter: yubaofu
> Assignee: Xiaorui Wang
> Fix For: 4.2.0-incubating
>
>
> if server hostname not in /etc/hosts,
> org.apache.rocketmq.common.MixAll#localhost throw UnknownHostException
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)