When I run the demo project the server rejected the connection from the browser. And I found these infos in the logwebtest.db:
table: log
2024-02-20 14:07:45 9 1 Server started
2024-02-20 14:07:45 9 1 Server initialized
2024-02-20 14:07:45 9 2 Error (ESocketError) : Binding of socket failed: 8000
2024-02-20 14:07:45 9 2 Error (ESocketError) : Binding of socket failed: 8000
2024-02-20 14:07:45 9 2 Error (ESocketError) : Binding of socket failed: 8000
... and another 1,000+ same error message
table: sessions
1 2024-02-20 09:52:55
2 2024-02-20 09:55:17
3 2024-02-20 10:26:14
4 2024-02-20 10:26:42
5 2024-02-20 10:26:56
6 2024-02-20 13:48:08
7 2024-02-20 13:53:52
8 2024-02-20 13:54:03
9 2024-02-20 14:07:45
10 2024-02-20 15:18:33
table: sqlite_sequence
I didn't change anything in your demo project. I just put a zlib1.dll into system32 folder and put localhost.crt/csr into openssl folder to make it runable.
What did I possibly missing?
Hi. I'm sorry that I couldn't answer earlier - I noticed the activity in the forum only today. About your problem:
I haven't compiled a project for win64 for a long time - I did it today - and noticed that everything is working stably. Unfortunately, I couldn't reproduce this issue, but I have some suggestions:
1. Have you created a certificate and a private key for localhost?
2. Have you unpacked all the libraries to the executable folder? (the repository release has an archive with all the necessary libraries - called wchttpserver-win64-libs.7z)
I ask you to check and respond if possible - I will glad to help for a further.