I have to open some ports in my firewall to let users access Tomcat through the network. I have to specify the port type. Does tomcat use TCP or UDP?
Since you're (apparently) using Tomcat as an HTTP server, it's probably safe to assume that you want TCP.
From the Tomcat docs:
The Coyote HTTP/1.1 Connector element represents a Connector component that supports the HTTP/1.1 protocol. It enables Catalina to function as a stand-alone web server, in addition to its ability to execute servlets and JSP pages. A particular instance of this component listens for connections on a specific TCP port number on the server.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With