Connect to a dedicated server using Steam.

I am trying to connect directly to the dedicated server via the command “open 127.0.0.1”, but if I am connected to the incentive, it is unsuccessful.
If you disable steam, the connection is without problems.
Tell me, please, what should I do?