How to Create a Blynk Local Server




Introduction: How to Create a Blynk Local Server

About: DIY Enthusiast

Blynk is a software/app allows a user to control arduino devices from a smartphone or tablet. This can be done by using the company's Blynk server or the user can host their own Blynk server. This Instructable shows you as to how the user can create their local Blynk Server.

The Files required for the process can be downloaded from the links below.

Blynk Server File:

JavaJDK 8.77



Server Properties File:

Mail Properties FIle:

OpenSSL Installation Files



SSL Commands File:

Blynk Aurdino Library Files:

Step 1: The Actual Process

The actual process of creating a Blynk server has been clearly demonstrated in the video.



    • Metalworking Contest

      Metalworking Contest
    • Tiny Home Contest

      Tiny Home Contest
    • Water Contest

      Water Contest

    21 Discussions


    2 months ago

    hi, I have made it. but just wonder why there are many warnings??


    1. an illegal reflective access operation has occurred.

    2. illegal reflective access by io.netty.util.internal.platformdependent0 (-folder path-/server-0.15.2.jar) to field java.nio.buffer.address

    3. please consider reporting this to the maintainers of io.netty.util.internal.platformdependent0

    4. use --illegal-access=warn to enable warnings of further illegal reflective access operations

    5. all illegal access operations will be denied in a future release.

    question: 1. does the connected device is connecting to the local machine hotspot or both were connecting to a local network or both?



    I am getting the same error:

    Error Message: 'openss1 is not recognised as an internal or external command, operable program or batch file'.

    I have tried entering it manually nothing helped.

    2 replies

    first you must see your Raspberry pi IP and put it in your scetch.. after that you must make a port to your router (8443) i your android blynk use this port.. (in the text file you must put your email and pass).In the blynk app put the switch in private server and IP (raspberry pi IP) and port 8443..If anyone have some problem P.M me

    on the internet everybody shows how to connect the application to the server but nobody explains how to connect hardware to the local server how would you prevent your arduino getting connected to servers instead of your local blynk server

    Blynk.begin(auth, IPAddress(192,168,1,100), 8442)

    this command does not work with all the hardware setups

    you have to change something in your blynk libraries but what ?


    These are the errors I get after I have done the certificates and restarted the server.

    Do you have any idea of what I should do next?

    I followed your video exactly so far. Running Win7

    Thank you


    I find the video very well and I suspect it describes well the steps to take, however, in my case, I see a lack of a text file describing the same steps, for people who for whatever reason do not have the option of Language with which the video was made.

    On the other hand, I must say and say that, it does not seem very friendly (easy) to perform a server for the Blynk, for a neophyte.

    This is my view point.

    (In Spanish)

    Me parece muy bien el vídeo y sospecho que describe bien los pasos a dar, sin embargo, en mi caso, veo una falta de un archivo de texto que describa los mismos pasos, para las personas que por cualquier razón no tienen la opción de la lengua con la que se ha realizado el vídeo.

    Por otra parte, debo decir y digo que, no parece muy amigable (fácil) realizar un servidor para el Blynk, por un neofito.

    Este es mi punto de vista.

    Holy crap. Do these people want us to actually use their product?
    This is an excellent instructable, Siddharth. There is no way I would have been able to stumble through a setup of this complexity on my own.
    I just have to reconsider if it is actually worth the effort. I just wanted to take the application for a joy ride, not marry it.


    2 years ago


    Downloaded and decompressed the Blynk server file via your first link but the folder files do not correspond with those in your video. Is the link correct. A very detailed video on installation and configuration but I need to access the correct files to progress. Many thanks.

    6 replies


    you should not decompress the file. it is a java executable. you just need to download and copy it to the blynk server folder.


    Hi ssiddharth

    Thanks for your prompt reply. I misunderstood the fact that the files you refer to in the opening part of your video was in fact the list of files you downloaded separately from the links you kindly provided and, not the files of a decompressed folder. An excellent tutorial overall - extremely detailed. I have yet to finalise my setup - but is progressing well. May need to get back if I have any unresolved issues. Thanks again.


    Thanks for your feedback. Please feel free to post your issues. All the best with your work.



    Almost success! At the stage where you are required to enter text from the text file 'SSL cmd comands' file, an error occurs when the first line is transferred into the Windows Console running in Admin Mode and in the Blynk server directory.

    Error Message: 'openss1 is not recognised as an internal or external command, operable program or batch file'. I have re checked the path in the System Variables and this is correct (created on 'Open SSL' program installation - 64 bit version - didn't need to create it manually). Also rebooted the PC and re checked program installation config settings too. The Java server would be running because it is in the start up batch file, and the brief command dialog confirms this at Windows (7) start up.

    Do you have any ideas on this issue ssidharth?


    Can you please share with me the screenshot of the error. I think what would have happened is, windows 7 would not allow pasting in command prompt, so you would have entered the command manually, i presume. If that is the case, the correct syntax is "openssl" and not "openss1". God only knows why notepad makes lower case "l" and "1" look alike..

    Kindly get back to me on this.


    Yes, the similarity between the characters was an issue. I have now configured the server, generated SSL certificates etc. Now working on the Blynk client side. I did encounter subsequent issues with the OpenSSL.cfg file - changed file with a '.cnf' file type (default for Open SSL on Windows) to overcome them. So, nearly there ssidharth. As I am progressing through your video tutorial I am documenting the steps textually and with screenshots for future personal reference. Will keep you posted. Incidentally, my host desktop PC was set to acquire it's IP address via DCHP - I changed it to a static IP address.