|
|
|
@@ -100,7 +100,8 @@ public class MessageQueueServiceImpl implements IMessageQueueService { |
|
|
|
}; |
|
|
|
try { |
|
|
|
System.out.println("启动"); |
|
|
|
config.setHostname(InetAddressUtils.getLocalHostLANAddress().getHostAddress()); |
|
|
|
// config.setHostname(InetAddressUtils.getLocalHostLANAddress().getHostAddress()); |
|
|
|
config.setHostname("0.0.0.0"); |
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
|