lemonisdead Well-Known Member Licensed User Longtime User Mar 10, 2016 #1 Hello, I am coming back to the subject because I have setup a server setting only its SslConfiguration (I did not wanted to listen to non ssl connection). What I have noticed some days ago are some "strange entries" in the server's logs. I initially thought it was some packets forward trials on the server's port but in fact, it looks like if the server was listening to any port in range 808x not already used by any other server (I could be wrong reason why I am asking you). Referring to that post, the default port was 80 (already in use so perhaps it could have moved to 808x ?) For example, my server is listening for SSL connection on port 51049. In the logs, I can see [some IP] - - [10/Mar/2016:21:20:00 +0000] "GET //[server's IP]:8080/ HTTP/1.1" 403 0 "-" "Python-urllib/2.7" Click to expand... But when I point my browser to [server's IP]:8080, I am creating a log entry with my own IP [my local IP] - - [10/Mar/2016:21:31:30 +0000] "GET //[server's IP]:8080/ HTTP/1.1" 403 0 "-" "Mozilla/5.0 Click to expand... And it logs the same if I am pointing to 8081, 808x etc. [my local IP] - - [10/Mar/2016:21:33:19 +0000] "GET //[server's IP]:8085/ HTTP/1.1" 403 0 "-" "Mozilla/5.0 Click to expand... Is there something I did not understood ? Perhaps the fact I did not setup the "non SSL port" to listen to ? Many thanks Last edited: Mar 10, 2016
Hello, I am coming back to the subject because I have setup a server setting only its SslConfiguration (I did not wanted to listen to non ssl connection). What I have noticed some days ago are some "strange entries" in the server's logs. I initially thought it was some packets forward trials on the server's port but in fact, it looks like if the server was listening to any port in range 808x not already used by any other server (I could be wrong reason why I am asking you). Referring to that post, the default port was 80 (already in use so perhaps it could have moved to 808x ?) For example, my server is listening for SSL connection on port 51049. In the logs, I can see [some IP] - - [10/Mar/2016:21:20:00 +0000] "GET //[server's IP]:8080/ HTTP/1.1" 403 0 "-" "Python-urllib/2.7" Click to expand... But when I point my browser to [server's IP]:8080, I am creating a log entry with my own IP [my local IP] - - [10/Mar/2016:21:31:30 +0000] "GET //[server's IP]:8080/ HTTP/1.1" 403 0 "-" "Mozilla/5.0 Click to expand... And it logs the same if I am pointing to 8081, 808x etc. [my local IP] - - [10/Mar/2016:21:33:19 +0000] "GET //[server's IP]:8085/ HTTP/1.1" 403 0 "-" "Mozilla/5.0 Click to expand... Is there something I did not understood ? Perhaps the fact I did not setup the "non SSL port" to listen to ? Many thanks
Erel B4X founder Staff member Licensed User Longtime User Mar 11, 2016 #2 Yes. The default non-ssl port is 8080. You can add a filter that rejects all non-secure connections (or redirects to the ssl port). https://www.b4x.com/android/forum/threads/server-ssl-connections.40130/ Upvote 0
Yes. The default non-ssl port is 8080. You can add a filter that rejects all non-secure connections (or redirects to the ssl port). https://www.b4x.com/android/forum/threads/server-ssl-connections.40130/