Had some issues before with nicehash on baikal miner.
Don't know if this will help you but it might have to do something with dns.
Lookup the ip to the nicehash server and use that in you settings.
It worked for me and after that it also seemed to connect to the nicehash adress.
Good luck!