Couldn't access my local server admin page!

This is NOT the correct port!

The server is running properly because I can connect my blynk app and work with it using Arduino UNO.

Sir, please tell how to find ip for my server and my correct port

did you actually read any topic on this forum how to do this?

all was explained several times…

As per your request and my last post… You. Have. The. Wrong. Port. In. The. server.properties :stuck_out_tongue:

than use the same ip and port you used to set up the app.

@Gunner …i have already changed it Sir

(Sorry for the late reply, i ran out of my daily message limit)

You can see my new server.properties here

#hardware mqtt port
hardware.mqtt.port=8440

#hardware ssl port
hardware.ssl.port=8441

#hardware plain tcp/ip port
hardware.default.port=8442

#http and web sockets port
http.port=8080

#https and web sockets port
https.port=9443

#application ssl port
app.ssl.port=8443

#address to bind to. by default bounded to all interfaces
listen.address=

#by default server uses embedded in jar cert to simplify local server installation.
#WARNNING DO NOT USE THIS CERTIFICATES ON PRODUCTION OR IN WHERE ENVIRNOMENTS REAL SECURITY REQUIRED.
#provide either full path to files either use '.' for specifying current directory. For instance "./myfile.crt"
server.ssl.cert=./server_embedded.crt
server.ssl.key=./server_embedded.pem
server.ssl.key.pass=*********

#by default System.getProperty("java.io.tmpdir")/blynk used
data.folder=

#folder for logs.
logs.folder=./logs

#log debug level. trace|debug|info|error. Defines how precise logging will be.
log.level=info

#maximum number of devices allowed per account
user.devices.limit=25

#maximum number of tags allowed per account
user.tags.limit=100

#defines maximum allowed number of user dashboards. Needed to limit possible number of tokens.
user.dashboard.max.limit=100

#defines maximum allowed widget size in KBs as json string.
user.widget.max.size.limit=20

#user is limited with 100 messages per second.
user.message.quota.limit=100

#maximum allowed number of notification queue. Queue responsible for processing email, pushes, twits sending.
#Because of performance issue - those queue is processed in separate thread, this is required due
#to blocking nature of all above operations. Usually limit shouldn't be reached.
notifications.queue.limit=2000

#Number of threads for performing blocking operations - push, twits, emails, db queries.
#Recommended to hold this value low unless you have to perform a lot of blocking operations.
blocking.processor.thread.pool.limit=6

#this setting defines how often we can send mail/tweet/push or any other notification. Specified in seconds
notifications.frequency.user.quota.limit=15

#this setting defines how often we can send webhooks. Specified in miliseconds
webhooks.frequency.user.quota.limit=1000

#this setting defines how big could be response for webhook GET request. Specified in kbs
webhooks.response.size.limit=72

#maximum size of user profile in kb's
user.profile.max.size=128

#number of strings to store in terminal widget
terminal.strings.pool.size=25

#number of strings to store in map widget
map.strings.pool.size=25

#number of strings to store in lcd widget
lcd.strings.pool.size=6

#maximum number of rows allowed
table.rows.pool.size=100

#period in millis for saving all user DB to disk.
profile.save.worker.period=60000

#period in millis for saving stats to disk.
stats.print.worker.period=60000

#max size of web request in bytes, 256 kb (256x1024) is default
web.request.max.size=524288

#maximum number of points that are fetched during CSV export
#43200 == 60 * 24 * 30 - minutes points for 1 month
csv.export.data.points.max=43200

#specifies maximum period of time when hardware socket could be idle. After which
#socket will be closed due to non activity. In seconds. Default value 15 if not provided.
#leave it empty for infinity timeout
hard.socket.idle.timeout=15

#enable DB
enable.db=false

#enable raw data storage to DB
enable.raw.db.data.store=false

#size of async logger ring buffer. should be increased for loads >2-3k req/sec
async.logger.ring.buffer.size=2048

#initial amount of energy
initial.energy=100000

#ADMINISTRATION SECTION

admin.rootPath=https://192.168.42.190:8443/admin

#used for reset password page and certificate generation.
#by default current server IP is taken. could be replaced with more friendly hostname.
#it is recommended to override this property with your server IP to avoid possible problems of host resolving
server.host=test.blynk.cc

#email used for certificate registration, could be omitted in case you already specified it in mail.properties
#contact.email=blynk.lpg@gmail.com

#network interface to determine server's current IP.
#only the first characters of the interface's name are needed.
#the default setting eth will use the first ethX interface found (i.e. eth0)
net.interface=eth

#comma separated list of administrator IPs. allow access to admin UI only for those IPs.
#you may set it for 0.0.0.0/0 to allow access for all.
#you may use CIDR notation. For instance, 192.168.0.53/24
allowed.administrator.ips=0.0.0.0/0,::/0

# default admin name and password. that will be created on initial server start
admin.email=admin@blynk.cc
admin.pass=admin

#comma separated list of users allowed to create accounts. leave it empty if no restriction required.
allowed.users.list=

@wanek … I’ve done it as per you suggestion Sir.

Sir the page is loading for a long and not getting any response!! :sob::sob::sob:

See the screenshot:


But the server is working fine:
(Screenshot)


When I tried with 9443 port, the page not found
(screenshot)


here is my log

00:34:19.498 INFO - Using data dir 'C:\Users\hugoCode\blynkServer\DataFiles'
00:34:19.857 INFO - Region : local. Host : test.blynk.cc.
00:34:24.170 INFO - Initializing gmail smtp mail transport. Username : blynk.lpg@gmail.com. SMTP host : smtp.gmail.com:587
00:34:24.217 INFO - Didn't find Let's Encrypt certificates.
00:34:24.217 INFO - Automatic certificate generation is turned ON.
00:34:31.999 INFO - Hardware plain tcp/ip server listening at 8442 port.
00:34:31.999 INFO - Hardware SSL server listening at 8441 port.
00:34:31.999 INFO - Application server listening at 8443 port.
00:34:31.999 INFO - HTTP API and WebSockets server listening at 8080 port.
00:34:31.999 INFO - HTTPS API, WebSockets and Admin page server listening at 9443 port.
00:34:32.015 INFO - Mqtt hardware server listening at 8440 port.

You are connecting on the wrong port as far as I can see.
YourIP:8443
Https connects by default over port 443

You STILL have the wrong port in your server.properties :stuck_out_tongue: Change it to 9443 and stop using 8443 in every 2nd attempt or whatever you are doing.

image

Maybe I’m missing something here, but is there a reason that you aren’t accessing port 8080?

Your logs indicate that 8080 and 9443 are open. Maybe try to run ‘netstat -tanp’ in a separate terminal and verify the ports are listening? If you are running any local firewall that is even mildly aggressive (like ufw for instance) that could be causing your grief.

Just some ideas. Good luck!

@Gunner … Sir, I changed it.

Still I can’t access the admin page. :sob::sob::sob:

admin.rootPath=https://192.168.42.190:9443/admin

Looking at myserver.properties and comparing to yours I’ll just point out the differences I see, I dont know their impact.

your rootPath is different

 #ADMINISTRATION SECTION
 admin.rootPath=/admin

Also your server.host should be something else id say your IP as per recommendation

try changing them

1 Like

@Fettkeewl … do i wanna change admin.rootPath=https://192.168.42.190:9443/admin to admin.rootPath=/admin ??
Let me try and get back to you!
Thanks in advance.

Yes try it, thats how I have it so it shouldnt hurt. Also your server.host=YourPcIP

@FettkeewlHHHUUURRRRRAAAAAAYYYYYY … it worked .
Thanks a lot @Fettkeewl for your help.


I would also like to thank @Gunner , @invalid_ref , @wanek for their valuable suggestions and help.

2 Likes

I also have one more query!

How can I change the username and password for admin account??

Thanks in advance.

Passwords should be change:able @ Users menu, however I advise you to change admin user pw and leave it as is.
Make yourself a new account with your email for your projects and use the admin account to access admin page

@Fettkeewl … can I change admin@blynk.cc to something else from server.properties??

I dont think you can, however if you login via your app you can create a new account
use that instead

@Fettkeewl …Ok… thank you.