Thank you for replying,
These are the steps I followed.
1.Created a new jail in Freenas
2.Installed Java inside the jail using the command = " pkg install openjdk8 "
3.Installed the wget package using the command = " pkg install wget "
4.Downloaded the jar file using the command =
wget “https://github.com/blynkkk/blynk-server/releases/download/v0.41.14/server-0.41.14-java8.jar” --no-check-certificate
(When I tried step 4 without “–no-check-certificate” it gave a certification error)
5.Created a new directory to use as the dataFolder (blynkLocal is the created directory).
6.Executed the jar file using the command
java -jar server-0.41.14-java8.jar -dataFolder blynkLocal &
In Arduino IDE
1.I commented out " Blynk.begin(auth, ssid, pass); "
2.Un commented " Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,7)); "
I was following the tutorial from this video to setup my arduino code :- https://youtu.be/33ynNkvfvWU
3.Filled out other details like my wifi ssid and password.
4.copied the auth token from the project and filled that too.
5.Uploaded the sketch
1.Changed server settings to Custom and created a new user .
2.Created a simple button to turn on and off the onboard LED.
I’ll attach a screenshot of my Arduino code too.