Need help with local server installation on raspberry pi 3

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]

Hello. Well, there is the error message

Server ports are busy. Most probably server already launched.

8080 port is busy. Something is already using it or you are launching server second time.

This is an older version of server… latest is 0.24.6

https://github.com/blynkkk/blynk-server/releases

This might be a literal situation… You can check with this CLI command (as listed in the Server documentation - https://github.com/blynkkk/blynk-server#blynk-server) - ps -aux | grep java

EDIT - Ha, someone beat me to the post willst I was editing… again… Mental note “Must type faster” :stuck_out_tongue_winking_eye:

Thank you @Dmitriy i forgot that i was running a web server on port 8080 :smile: and it worked when i stopped the web server service.

Hi ! I just installed a local blynk server on the raspberry pi and it started successfully then i sign up an account with the custom server and logged but i didnt recieve an e-mail with the auth key in and when i create a project and try to start it, it says device is offline.

hi @InitX can you share your mail.propreties configurations with us

The mail.properties file is specific to you, your email and your own server… sharing someone else’s will do you no good.

Please read the documentation. https://github.com/blynkkk/blynk-server#enabling-mail-on-local-server

    mail.smtp.auth=true
    mail.smtp.starttls.enable=true
    mail.smtp.host=smtp.gmail.com
    mail.smtp.port=587
    mail.smtp.username=YOUR_EMAIL_HERE
    mail.smtp.password=YOUR_EMAIL_PASS_HERE