欢乐连接:无法启动频道

时间:2018-07-31 18:44:25

标签: mirth mirth-connect

我正在尝试使用简单的TCP侦听器源启动Mirth通道,但是出现以下错误:

[2018-07-31 11:38:44,185]  ERROR (com.mirth.connect.server.channel.ErrorTaskHandler:25): com.mirth.connect.donkey.server.StartException: Failed to start channel Test-Channel (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

    at com.mirth.connect.donkey.server.channel.Channel.start(Channel.java:724)

    at com.mirth.connect.server.controllers.DonkeyEngineController$ChannelStatusTask.execute(DonkeyEngineController.java:1928)

    at com.mirth.connect.server.channel.ChannelTask.call(ChannelTask.java:67)

    at com.mirth.connect.server.channel.ChannelTask.call(ChannelTask.java:16)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    at java.lang.Thread.run(Thread.java:745)
Caused by: com.mirth.connect.donkey.server.ConnectorTaskException: Failed to create server socket (TCP Listener "Source" on channel xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

    at com.mirth.connect.connectors.tcp.TcpReceiver.onStart(TcpReceiver.java:179)

    at com.mirth.connect.donkey.server.channel.SourceConnector.start(SourceConnector.java:104)

    at com.mirth.connect.donkey.server.channel.Channel.start(Channel.java:700)

    ... 7 more
Caused by: java.net.BindException: Address already in use (Bind failed)

    at java.net.PlainSocketImpl.socketBind(Native Method)

    at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387)

    at java.net.ServerSocket.bind(ServerSocket.java:375)

    at java.net.ServerSocket.<init>(ServerSocket.java:237)

    at com.mirth.connect.connectors.tcp.StateAwareServerSocket.<init>(StateAwareServerSocket.java:36)

    at com.mirth.connect.plugins.ssl.server.SecureTcpConfiguration.createServerSocket(Unknown Source)

    at com.mirth.connect.connectors.tcp.TcpReceiver.createServerSocket(TcpReceiver.java:895)

    at com.mirth.connect.connectors.tcp.TcpReceiver.onStart(TcpReceiver.java:177)

    ... 9 more

似乎端口已在使用中。我尝试更改源的“本地端口”,但始终收到此错误。

enter image description here

有什么想法我在做什么错吗?

1 个答案:

答案 0 :(得分:2)

寻找在此端口上侦听的其他应用程序。在这种情况下,测试此问题的简单方法是将TCP侦听器中的端口号更改为其他内容。为了进行测试,我会选择32000以上的版本,然后再次部署该通道。