I found the reason for the error. Antivirus COMODO Internet Security Premium put the program in a isolated container and blocked network connections for it

When I removed the isolation rule everything worked fine. Sorry to bother you, i completely forgot about the antivirus.