Hello ,
I’am new here i tried to make my own Blynk local server and here is the issue i have been through,
when i enter the cmd line
java -jar server-0.41.6.jar -dataFolder C:/Server
also tried this
java -jar server-0.41.6.jar -dataFolder C:\Server
all i get is
Error: Unable to access jarfile server-0.41.6.jar
keep in mind that i have installed the latest version of java JDK 11.0.3, unzipped the blynk-server-master zip file on the same server folder with the server-0.41.6.jar file and also when i try to open the file server-0.41.6.jar by my self it runs and then i can access my local server only on my computer by the following link : https://192.168.1.2:9443/admin
but i cant access it on my phone while following the instruction opening it on my phone.
notice that i also tried to run the cmd prompt as an administrator and i got the same massage.
also ports that i opened on my router are 9443 and 8080, then deleted 8080 and kept the otherone by itself and still nothing.
Thanks to you guys this point passed but another problem came out and i think its related to ports ,
now in the cmd it passed and it said:
Blynk Server 0.41.7-SNAPSHOT successfully started.
All server output is stored in folder ‘C:\Server.\logs’ file.
Your Admin url is https://192.168.1.2:9443/admin
Your Admin login email is admin@blynk.cc
Your Admin password is admin
but when i try to log in with my phone here is what i get
Sorry, app could not initialize connection to the server
The hardware devices use 8080 and unless you are using the devices outside of your local network, port forwarding that is not usually required.
But the App uses 9443, so if you want full access to your Local Server from your phone, when outside of your network (AKA on Cellular instead of WiFi), you need to port forward 9443. EDIT - I see, in small detail with the screen shot, that it appears you already did. But why are you using your local IP for the remote host?? I would think the router would automatically assign its public IP to that.
I also find that using a DNS redirection address in the App, instead of the internal IP (when on WiFi) or the public IP (when on cell) helps it work regardless of whether my phone is on WiFi or Cellular link.
Thanks for your replay
now i don’t need opening 8080 so i removed it , also i edited 9443 port’s remote address and leave it blank as you said so that the router will automatically assign it
@Shalabyer In your App, you need an account (not the admin one) in order to log into it… Where you able to create an account on your server (via the App)?
It should be 9443… although 433 might also work, but probably not 943