Several moments:
- You can’t join dedicated server from your computer if you launched it on your computer (same IP)
- If you published in the cloud, computer firewall can be blocking port (eg Windows Server does it, Ubuntu doesn’t do such things)
- If you published your server on AWS, they have a cloud side firewall (on top layer comparing to computer one) known as Security Groups, blocking 7777 by default surely. This can apply to other hostings
- If you are using docker, make sure you set up udp port forwarding correctly (standard default port forwarding is for tcp): UE4 Dedicated Server + Docker: can't set up port forwarding