Python: Opening UDP/TCP ports
This documentation is part of the Advanced usages guide. View the full guide here: Going further with your Python deployments.
👋 Welcome to the Stackhero documentation!
Stackhero offers a ready-to-use Python cloud solution that provides a host of benefits, including:
- Deploy your application in seconds with a simple
git push.- Use your own domain name and benefit from the automatic configuration of HTTPS certificates for enhanced security.
- Enjoy peace of mind with automatic backups, one-click updates, and straightforward, transparent, and predictable pricing.
- Get optimal performance and robust security thanks to a private and dedicated VM.
Save time and simplify your life: it only takes 5 minutes to try Stackhero's Python cloud hosting solution!
Most Python applications use HTTP ports 80 (HTTP) and 443 (HTTPS).
If your application needs to open additional ports or uses other protocols (TCP or UDP), you can adjust the "Ports Redirections" setting in your Python service on the Stackhero dashboard.
For each additional port, specify the entry port (public facing), the destination port (used by your Python application), and the protocol (TCP or UDP).
Ports redirections in the Stackhero dashboard