Use UE4 Editor Dedicated Server as Server?

After running the dedicated server in the UE4 Editor, would I be able to connect to it from the packaged client? If so, how? What code or blueprints would I have to add to automatically connect to a specific address (the dedicated server in the editor)

Thanks!

There are going to be many issues abound when trying to run a cooked client connected to an editor server, namely because huge amounts of code structure, memory, and functions are going to be either in a different order, have different offsets, or simply not exist.

If you have a packaged client, why not run that as a server or package a dedicated server as well? Or why not run both the server and the client uncooked? You can run an uncooked client using the command line

UE4Editor.exe ProjectPath -game

Ok, thank you.