I have enabled port forwarding for both TCP and UDP in my router for port 8080. The hosts have static IPs in the local network and my public IP is also static. I have two separate server programs where one uses a TCP port and the other uses a UDP port. When I connect to the server that uses the TCP port, I am able to connect to it from the public internet. However, the same doesn’t apply to the other program that uses UDP port. The app that uses the UDP port doesn’t capture packages coming from the public internet. By the way, the server program that uses the UDP port is able to capture packets when connected within the local network. I think the problem is caused by the router but I am not sure where the problem lies.