Cannot connect to local server on Raspberry Pi2

I have Raspberry Pi2 with Raspbian Stretch where I installed Blynk Server 0.32.1.
I start the server:
java -jar /home/pi/Blynk/server-0.32.1-java8.jar -dataFolder /home/pi/Blynk/
and it shows:

Blynk Server 0.32.1-SNAPSHOT successfully started.
All server output is stored in folder '/home/pi/Blynk/logs' file.
Your Admin login email is admin@blynk.cc
Your Admin password is admin

On my iPhone 6S iOS 11.2.2, I installed Blynk application version 2.18.0. In the application I clicked on Create New Account, selected Custom server, specified IP address of my Raspberry Pi and port number 8443, specified my e-mail and password. The creation failed with a message complaining about network connection, although the Blynk log shows a connection and an error about message format:

14:36:24.555 DEBUG- Using SLF4J as the default logging framework
14:36:24.600 INFO - Using data dir '/home/pi/Blynk'
14:36:24.764 DEBUG- -Dio.netty.noUnsafe: false
14:36:24.766 DEBUG- Java version: 8
14:36:24.772 DEBUG- sun.misc.Unsafe.theUnsafe: available
14:36:24.777 DEBUG- sun.misc.Unsafe.copyMemory: available
14:36:24.780 DEBUG- java.nio.Buffer.address: available
14:36:24.783 DEBUG- direct buffer constructor: available
14:36:24.788 DEBUG- java.nio.Bits.unaligned: available, false
14:36:24.788 DEBUG- jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable prior to Java9
14:36:24.788 DEBUG- java.nio.DirectByteBuffer.<init>(long, int): available
14:36:24.789 DEBUG- sun.misc.Unsafe: available
14:36:24.791 DEBUG- -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
14:36:24.792 DEBUG- -Dio.netty.bitMode: 32 (sun.arch.data.model)
14:36:24.798 DEBUG- -Dio.netty.noPreferDirect: false
14:36:24.799 DEBUG- -Dio.netty.maxDirectMemory: 235274240 bytes
14:36:24.799 DEBUG- -Dio.netty.uninitializedArrayAllocationThreshold: -1
14:36:24.805 DEBUG- java.nio.ByteBuffer.cleaner(): available
14:36:24.826 DEBUG- Starting reading user DB.
14:36:25.290 DEBUG- Reading user DB finished.
14:36:25.290 INFO - Region : local. Host : 10.0.1.95.
14:36:25.436 DEBUG- -Dio.netty.eventLoopThreads: 8
14:36:25.598 DEBUG- -Dio.netty.noKeySetOptimization: false
14:36:25.599 DEBUG- -Dio.netty.selectorAutoRebuildThreshold: 512
14:36:25.652 DEBUG- org.jctools-core.MpscChunkedArrayQueue: available
14:36:25.860 DEBUG- -Dio.netty.leakDetection.level: disabled
14:36:25.860 DEBUG- -Dio.netty.leakDetection.targetRecords: 4
14:36:25.871 DEBUG- Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@e965f5
14:36:27.311 DEBUG- Default protocols (JDK): [TLSv1.2, TLSv1.1, TLSv1] 
14:36:27.312 DEBUG- Default cipher suites (JDK): [TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_128_CBC_SHA]
14:36:27.703 DEBUG- -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024
14:36:27.705 DEBUG- -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096
14:36:27.785 DEBUG- -Dio.netty.allocator.numHeapArenas: 2
14:36:27.787 DEBUG- -Dio.netty.allocator.numDirectArenas: 2
14:36:27.788 DEBUG- -Dio.netty.allocator.pageSize: 8192
14:36:27.789 DEBUG- -Dio.netty.allocator.maxOrder: 11
14:36:27.790 DEBUG- -Dio.netty.allocator.chunkSize: 16777216
14:36:27.791 DEBUG- -Dio.netty.allocator.tinyCacheSize: 512
14:36:27.792 DEBUG- -Dio.netty.allocator.smallCacheSize: 256
14:36:27.792 DEBUG- -Dio.netty.allocator.normalCacheSize: 64
14:36:27.793 DEBUG- -Dio.netty.allocator.maxCachedBufferCapacity: 32768
14:36:27.794 DEBUG- -Dio.netty.allocator.cacheTrimInterval: 8192
14:36:27.795 DEBUG- -Dio.netty.allocator.useCacheForAllThreads: true
14:36:27.849 DEBUG- -Dio.netty.allocator.type: pooled
14:36:27.850 DEBUG- -Dio.netty.threadLocalDirectBufferSize: 65536
14:36:27.851 DEBUG- -Dio.netty.maxThreadLocalCharBufferSize: 16384
14:36:28.048 INFO - Initializing gmail smtp mail transport. Username : example@gmail.com. SMTP host : smtp.gmail.com:587
14:36:29.536 INFO - Didn't find custom user certificates.
14:36:29.545 INFO - Didn't find Let's Encrypt certificates.
14:36:29.545 WARN - You didn't specified 'server.host' or 'contact.email' properties in server.properties file. Automatic certificate generation is turned off. Please specify above properties for automatic certificates retrieval.
14:36:29.546 WARN - ATTENTION. Server certificate paths (cert : '/home/pi/Blynk', key : '/home/pi/Blynk') not valid. Using embedded server certs and one way ssl. This is not secure. Please replace it with your own certs.
14:36:33.073 DEBUG- -Dio.netty.buffer.bytebuf.checkAccessible: true
14:36:33.073 DEBUG- Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@52a3ff
14:36:33.261 DEBUG- hard.socket.idle.timeout = 15
14:36:33.317 DEBUG- app.socket.idle.timeout = 600
14:36:33.873 DEBUG- hard.socket.idle.timeout = 15
14:36:33.950 DEBUG- -Dio.netty.processId: 12258 (auto-detected)
14:36:33.965 DEBUG- -Djava.net.preferIPv4Stack: false
14:36:33.965 DEBUG- -Djava.net.preferIPv6Addresses: false
14:36:33.969 DEBUG- Loopback interface: lo (lo, 0:0:0:0:0:0:0:1%lo)
14:36:33.973 DEBUG- /proc/sys/net/core/somaxconn: 128
14:36:33.980 DEBUG- -Dio.netty.machineId: b8:27:eb:ff:fe:b4:31:f2 (auto-detected)
14:36:34.166 INFO - Hardware plain tcp/ip server listening at 8442 port.
14:36:34.174 INFO - Hardware SSL server listening at 8441 port.
14:36:34.178 INFO - Application server listening at 8443 port.
14:36:34.181 INFO - HTTP API and WebSockets server listening at 8080 port.
14:36:34.184 INFO - HTTPS API, WebSockets and Admin page server listening at 9443 port.
14:36:34.187 INFO - Mqtt hardware server listening at 8440 port.
14:36:34.245 DEBUG- Adding new user admin@blynk.cc. App : Blynk
14:37:55.036 DEBUG- -Dio.netty.recycler.maxCapacityPerThread: 32768
14:37:55.037 DEBUG- -Dio.netty.recycler.maxSharedCapacityFactor: 2
14:37:55.037 DEBUG- -Dio.netty.recycler.linkCapacity: 16
14:37:55.038 DEBUG- -Dio.netty.recycler.ratio: 8
14:37:55.400 DEBUG- [id: 0x0c33dcab, L:/10.0.1.95:8443 - R:/10.0.1.9:60838] HANDSHAKEN: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
14:37:55.618 ERROR- Register Handler. Wrong income message format. RegisterMessage{id=18263, command=Register, length=0, body=''}
14:37:55.627 WARN - User not logged. /10.0.1.9:60838. Closing.
14:37:55.667 DEBUG- Discarded inbound message PooledUnsafeDirectByteBuf(ridx: 0, widx: 67, cap: 67) that reached at the tail of the pipeline. Please check your pipeline configuration.

This issue is persistent.

9443

9443 is for administrator connection. Does the iPhone application need to connect as administrator?
What’s the purpose of 8443 port?
A screenshot in the document https://github.com/blynkkk/blynk-server/blob/master/README.md
in section “App and Sketch Changes” shows 8443.

Keep up with the Announcement topics :stuck_out_tongue_winking_eye: Should be valid for iOS users now as well.

Thank you for pointing it out. It works, now. For consistency you still need to update some places in the documentation.

The developers are rather busy making the documentation outdated with MOWR! :stuck_out_tongue: So while the documentation will catch up, it can take time…

Meanwhile that’s what updates, announcements and this forum are partially here for…

Glad you got it working. Marking this topic solved.