testing dedicated server with multiple clients

Hi,

I am using Engine 5.3.
On testing multiplayer functions, I am aiming to simulate dedicated server with 2 clients connected to it.
According to this: Testing and Debugging Networked Games in Unreal Engine ,
if I set the NetMode as “Play as Client”, they both should connect to the server automatically.
But the 2 instances launched separately, the players cannot see each other. There is a separate server process launched as well.
If I select “Listen Server” option, then the players can see each other.
Is there a way to make players see each other in dedicated server mode?

Thank you