I just had this same issue on my localhost server.
It would connect fine if I went into the Play tab, and typed localhost, but if I tried to use the direct Localhost tab, it would ping me that exact same error.
I tried setting it up with the custom port numbers FivePD has in the config files, but it wouldnt connect using the direct localhost tab. After trying various ports, I just left the custom port number blank, and now it connects every time, in both the Play and Localhost tabs. I guess if you leave the Custom Port blank, it will autodetect, and sort itself out.
Also, I dont know if the original posterās issue was ever sorted, but I did notice the mod directory is missing from the āensureā list in that config file.
Im assuming that its a FivePD server, as the map_hipster was loaded in the CMD screen.
There needs to be āensure fivepdā in that list too.
For reference, I actually just tried removing that line from my config file, and it still loaded FivePD, but i didnt test it to see if any resources where missing.