B4J Question [SOLVED] When to use Websocket and when Webserver

MiguelL

Member
Licensed User
Hi all,
I'm very new and trying to read up on how to work with Servers. I'm a bit in the dark about the different possibilities:
- Web socket
- Web server (using AddHandler() )
- ?
Is there maybe a page where this is explained?

Also, what's "best". HTTPS, VPS, VPN to host your server? I'd initially like to host some kind of server myself, but haven't figured out yet how to get a Letsencrypt certificate (with the password which seems to be required as I saw in an example). I can leave that for later, but it does seem kind of a headache, especially if your don't run the server in XAMPP, Wamp, etc, but just have the .jar running.
TIA
regards
 

MiguelL

Member
Licensed User
Hi Erel, that gives me a bit more information.
I'll go step by step and first see if I can get anything served on https:// using a Letsencrypt certificate.
I have to see things working with some security, if not all of this doesn't seem useful.
I did see the post on how to use the java keytool etc., but couldn't figure out what password to use.
( I already had a LetsEncrypt certificate).
Now that I've found this page: https://www.sorcerers-tower.net/articles/configuring-jetty-for-https-with-letsencrypt I hope things might lighten up for me.
I've also setup a fresh noip ddns to avoid any conflict with that one.

Thank you!
 
Upvote 0

hatzisn

Well-Known Member
Licensed User
Longtime User
Hi Erel, that gives me a bit more information.
I'll go step by step and first see if I can get anything served on https:// using a Letsencrypt certificate.
I have to see things working with some security, if not all of this doesn't seem useful.
I did see the post on how to use the java keytool etc., but couldn't figure out what password to use.
( I already had a LetsEncrypt certificate).
Now that I've found this page: https://www.sorcerers-tower.net/articles/configuring-jetty-for-https-with-letsencrypt I hope things might lighten up for me.
I've also setup a fresh noip ddns to avoid any conflict with that one.

Thank you!

Search in youtube for Nginx Proxy Manager. There are lots of videos. Host on a linux VPS.
 
Upvote 0
Top