Cannot connect to the pool! nanopool + bitfinex wallet

Guys i am facing some problem here,yesterday i built my rig and launched it the first time,at the beginning it was working fine,but was giving me too low sols(550,580)i have two asus 1080 ti 11g turbo edition,after that i restarted and when i launched again,the mining window appeared about 8 seconds and then disappeared,but i noticed the error : cannot connect to the pool. after this i generated another address at bitfinex and started miner,it begun working fine,but when i closed it and reopened gave me the same error,
i have no idea whats the problem,maybe i have some wrong config in my bat file?but if its so why it starts if i change the address?!
if you know the solution please let me know.
thanx