BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Server ports are busy. Most probably server already launched. See C:\Users\radou\Desktop\Blynk Local server\.\logs for more info


#1

Hy Blynkers ,
I am trying to creat a blynk local server and i got this error messege " Server ports are busy. Most probably server already launched. See C:\Users\radou\Desktop\Blynk Local server.\logs for more info. " and i have no idea how to solve it .
that’s my log file :

16:32:11.951 INFO - Using data dir 'server_data'
16:32:12.892 INFO - Region : local. Host : 192.168.1.34.
16:32:17.527 INFO - Initializing gmail smtp mail transport. Username : example@gmail.com. SMTP host : smtp.gmail.com:587
16:32:18.567 INFO - Didn't find custom user certificates.
16:32:18.569 INFO - Didn't find Let's Encrypt certificates.
16:32:18.570 WARN - You didn't specified 'server.host' or 'contact.email' properties in server.properties file. Automatic certificate generation is turned off. Please specify above properties for automatic certificates retrieval.
16:32:18.570 WARN - ATTENTION. Server certificate paths (cert : 'C:\Users\radou\Desktop\Blynk Local server', key : 'C:\Users\radou\Desktop\Blynk Local server') not valid. Using embedded server certs and one way ssl. This is not secure. Please replace it with your own certs.
16:32:20.697 INFO - Hardware SSL server listening at 8441 port.
16:32:20.699 INFO - Application server listening at 8443 port.
16:32:20.773 ERROR- Error initializing HTTP API and WebSockets, port 8080
java.net.BindException: Address already in use: bind
	at sun.nio.ch.Net.bind0(Native Method) ~[?:1.8.0_161]
	at sun.nio.ch.Net.bind(Unknown Source) ~[?:1.8.0_161]
	at sun.nio.ch.Net.bind(Unknown Source) ~[?:1.8.0_161]
	at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) ~[?:1.8.0_161]
	at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:128) ~[server-0.33.5-java8.jar:?]
	at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:558) ~[server-0.33.5-java8.jar:?]
	at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1338) ~[server-0.33.5-java8.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:501) ~[server-0.33.5-java8.jar:?]
	at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:486) ~[server-0.33.5-java8.jar:?]
	at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:999) ~[server-0.33.5-java8.jar:?]
	at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:254) ~[server-0.33.5-java8.jar:?]
	at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:366) ~[server-0.33.5-java8.jar:?]
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) ~[server-0.33.5-java8.jar:?]
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) ~[server-0.33.5-java8.jar:?]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463) ~[server-0.33.5-java8.jar:?]
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886) ~[server-0.33.5-java8.jar:?]
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[server-0.33.5-java8.jar:?]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_161]

thanks for help


#2

As stated in message:

Server ports are busy. Most probably server already launched.

You need close software that uses 8080 port already on your machine


#3

Thanks Dmitriy for your quick answer , but i used this command in cmd and it seems that 8080 port is availibale , what should i do ?


#4

It’s not! :stuck_out_tongue: Listening means it’s in use.

TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING

You could download TCPView from Microsoft to see which process that is using port 8080, or just try http://127.0.0.1:8080/ :slight_smile:


#5

thanks 2 u for helping us