I installed java then I downloaded the blynk server and i configured the server.properties and the mail.properties files but when i start the server using this command “java -jar server-0.23.0.jar -dataFolder /home/pi/Blynk” I get the following : “Server ports are busy. Most probably server already launched. See /home/pi/Blynk/./logs for more info.”
and this is the blynk.log file:
2017-06-09 22:42:18.465 INFO - Using data dir '/home/pi/Blynk'
2017-06-09 22:42:18.705 INFO - Region : local
2017-06-09 22:42:20.765 INFO - Initializing gmail smtp mail transport. Username : EMAIL. SMTP host : smtp.gmail.com:587
2017-06-09 22:42:22.818 WARN - ATTENTION. Certificate /home/pi/Blynk and key /home/pi/Blynk paths not valid. Using embedded certs. This is not secure. Please replace it with yo$
2017-06-09 22:42:24.137 WARN - ATTENTION. Server certificate paths cert : '/home/pi/Blynk', key : '/home/pi/Blynk' - not valid. Using embedded server certs and one way ssl. Thi$
2017-06-09 22:42:26.237 WARN - ATTENTION. Certificate /home/pi/Blynk and key /home/pi/Blynk paths not valid. Using embedded certs. This is not secure. Please replace it with yo$
2017-06-09 22:42:26.891 WARN - ATTENTION. Certificate /home/pi/Blynk and key /home/pi/Blynk paths not valid. Using embedded certs. This is not secure. Please replace it with yo$
2017-06-09 22:42:29.814 INFO - Hardware plain tcp/ip server listening at 8442 port.
2017-06-09 22:42:29.818 INFO - Hardware SSL server listening at 8441 port.
2017-06-09 22:42:29.820 INFO - Application server listening at 8443 port.
2017-06-09 22:42:29.823 ERROR- Error initializing HTTP API and WebSockets, port 8080
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method) ~[?:1.8.0_65]
at sun.nio.ch.Net.bind(Net.java:433) ~[?:1.8.0_65]
at sun.nio.ch.Net.bind(Net.java:425) ~[?:1.8.0_65]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) ~[?:1.8.0_65]
at io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:128) ~[server-0.23.0.jar:?]
at io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:554) ~[server-0.23.0.jar:?]
at io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1258) ~[server-0.23.0.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:502) ~[server-0.23.0.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:487) ~[server-0.23.0.jar:?]
at io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:980) ~[server-0.23.0.jar:?]
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:250) ~[server-0.23.0.jar:?]
at io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:365) ~[server-0.23.0.jar:?]
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) ~[server-0.23.0.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) ~[server-0.23.0.jar:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:445) ~[server-0.23.0.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) ~[server-0.23.0.jar:?]
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) ~[server-0.23.0.jar:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65]