By Vanker
I have a small app that uses UDP to make a connection to another host and it simply doesn’t return anything.
Locally the app works just fine, when deployed to a VPS though…
I’ve tried to disable the entire firewall but that did not work as well.
What are the chances of DO block outgoing UDP connections? (some times they can be a Ddos, so maybe there is a block?)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I faced this same problem. The problem was in sending UDP packets from the server with the wrong source port. If the client is behind NAT, then destination port of packets to server and source port of packets from server should be the same.
You can check UDP packages with command: tcpdump udp
The problem was in the server code.
The only ports that DigitalOcean typically blocks on new accounts are mail ports to prevent spam since it’s so easy to setup an account and fund it. Once the account is verified, that can be lifted.
To my knowledge, no other ports are blocked, though to confirm that you’d need to submit a ticket to the support team.
What specifically is the application and what port are they trying to connect on?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.