m assuming I'm doing something simple and stupid since I'm new to this. But I have a working
Tomcat servlet. On my local machine, when the connection is created with:
it works just fine. In fact, I accidentally loaded it to the server with that and of course it still worked :P.
However, whenever I try to run the servlet on the server itself:
it dies, saying that a connection cannot be established to the server. To be honest, I used this
https://www.digitalocean.com/community/tutorials/install-tomcat-9-debian-9 to set up the server. I thought I even briefly disabled the firewall.