Already used ports

hello

how to fix this err? Thanks in advance.

[2018-09-14T13:45:21,892][ERROR][logstash.pipeline ] A plugin had an unrecoverable error. Will restart this plugin.

Pipeline_id:main

Plugin: <LogStash::Inputs::Tcp port=>1234, add_field=>{"project_type"=>"XXX"}, id=>"a09dd5d6fc4f527b102240a2f9c123e03531de82cb07f642773336b94485bc9a", enable_metric=>true, codec=><LogStash::Codecs::Line id=>"line_e4895d7e-b04d-47d7-ae95-b94facf7204c", enable_metric=>true, charset=>"UTF-8", delimiter=>"\n">, host=>"0.0.0.0", mode=>"server", proxy_protocol=>false, ssl_enable=>false, ssl_verify=>true, ssl_key_passphrase=><password>>

Error: Address already in use: bind

Exception: Java::JavaNet::BindException

Stack: sun.nio.ch.Net.bind0(Native Method)

sun.nio.ch.Net.bind(sun/nio/ch/Net)

sun.nio.ch.Net.bind(sun/nio/ch/Net)

sun.nio.ch.ServerSocketChannelImpl.bind(sun/nio/ch/ServerSocketChannelImpl)

sun.nio.ch.ServerSocketAdaptor.bind(sun/nio/ch/ServerSocketAdaptor)

io.netty.channel.socket.nio.NioServerSocketChannel.doBind(io/netty/channel/socket/nio/NioServerSocketChannel.java:125)

io.netty.channel.AbstractChannel$AbstractUnsafe.bind(io/netty/channel/AbstractChannel.java:554)

io.netty.channel.DefaultChannelPipeline$HeadContext.bind(io/netty/channel/DefaultChannelPipeline.java:1258)

io.netty.channel.AbstractChannelHandlerContext.invokeBind(io/netty/channel/AbstractChannelHandlerContext.java:511)

io.netty.channel.AbstractChannelHandlerContext.bind(io/netty/channel/AbstractChannelHandlerContext.java:496)

io.netty.channel.DefaultChannelPipeline.bind(io/netty/channel/DefaultChannelPipeline.java:980)

io.netty.channel.AbstractChannel.bind(io/netty/channel/AbstractChannel.java:250)

io.netty.bootstrap.AbstractBootstrap$2.run(io/netty/bootstrap/AbstractBootstrap.java:363)

io.netty.util.concurrent.SingleThreadEventExecutor.safeExecute(io/netty/util/concurrent/SingleThreadEventExecutor.java:451)

io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(io/netty/util/concurrent/SingleThreadEventExecutor.java:418)

io.netty.channel.nio.NioEventLoop.run(io/netty/channel/nio/NioEventLoop.java:401)

io.netty.util.concurrent.SingleThreadEventExecutor$5.run(io/netty/util/concurrent/SingleThreadEventExecutor.java:877)

io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(io/netty/util/concurrent/DefaultThreadFactory.java:144)

java.lang.Thread.run(java/lang/Thread)

You can't have two plugins that both listen on port 1234.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.