Why I need to restart the editor in order to run the game as host by using FSocket?

Are you closing the socket when the game shuts down?
Also, this may help:

lisock.SetReuseAddr();