You need to right click Project Zomboid on Steam and click properties. Then go to the "Betas" tab, and switch to "onlinetest -". After doing this Steam will download some files, once completed start up PZ. Click join server, and then enter the IP for the server.