Greetings Captain. There is a list of ports required for the game: 7770, 8089, 5672, 5222, 8080, 21020-21036, 7401-7600(ports for battle instances if you experience constant timeout)
Please make sure these are available for Naval Action. Most likely firewall/antivirus blocks some of these ports
P.S.: Please continue this topic on Steam support forums: https://steamcommunity.com/app/311310/discussions/2/ as support for Naval Action was moved there.