i found a fix for the "connection failed" message on my laptop through researching a few forums. here's what to do:
1. search for the app called "services" on your laptop. I have windows so I just typed it into the bottom left bar of my desktop where it says "type here to search" and it popped up.
2. once the app is opened, you'll need to search the list of services it gives you for the UPnP setting and change it to the opposite of what its on. so, if the setting is on turn it off, if its off turn it on. make sure that day-z is closed while you do this.
3. after changing the setting, wait like a minute or two to let the change take effect and then try to connect to a server again. if it doesn't work still after like 3 tries to connect to a few different servers, you need to exit day-z, go back to the services and change the UPnP setting back to what it was originally on, but if it does work then you can keep the setting at the one that works. (don't forget that part.)
4. if it didn't work and you had to change the setting back, it would be worth a shot to try connecting to some servers again just to see if resetting the service made it work, though I didn't need to change it back.
hope this helps, and happy gaming :)