0

我正在尝试使用简单的 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

看起来某个端口已在使用中。我尝试更改源的“本地端口”,但我不断收到此错误。

在此处输入图像描述

任何想法我做错了什么?

4

1 回答 1

3

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

于 2018-08-02T21:28:44.293 回答