简体   繁体   English

欢乐连接:无法启动频道

[英]Mirth connect: unable to start channel

I'm trying to start a Mirth channel with a simple TCP Listener source but I'm getting the following error: 我正在尝试使用简单的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

It looks like a port is already in use. 似乎端口已在使用中。 I've tried changing the source's "Local port" but I keep getting this error. 我尝试更改源的“本地端口”,但始终收到此错误。

在此处输入图片说明

Any ideas what I'm doing wrong? 有什么想法我做错了吗?

Look for some other application listening on this same port. 寻找其他应用程序在同一端口上侦听。 The easy way to test for this, in this instance, would be to change your port number in your TCP Listener to something else. 在这种情况下,测试此问题的简单方法是将TCP侦听器中的端口号更改为其他内容。 For testing, I would choose something above 32000, and deploy the channel again. 为了进行测试,我会选择32000以上的版本,然后再次部署通道。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM