When joining your own dedicated server, if hosted in your home, you will need to query LAN to join it correctly.
Note: This will not verify whether your ports are forwarded/UPnP is working.
And do the things SPooK suggested. Also, check your software firewall isn't blocking it; sometimes if they update they re-define rules etc.