Problem with connection when running editor

Godot Version

3.6

Question

My client connects to the server, but then gets a disconnect soon after. This only happens when the server is being run from the editor.

If I export the server and run it, works just fine.