Is this possible create two servers in one app?

Hi,
My question is simple,
Is there a way to create two servers in one app?
I have 10+ small servers and I’m bored I have to make a .exe for each one.

Not with Unity’s networking.

With Unity networking an application can either be a server or a client, neither both, nor more than one of a type

I’m not sure about unity features, but I do know you can create how much servers you would like. as long as you use different local ports on that

No, you can’t.

Photon?

You can automate the boring process using AssetPipeline.Build

can please more info?

goshax, i was refering to Unity’s networking.
You can build your own solution and support it or use one of the existing solutions.
But then it has nothing to do with Unity anymore.

From the M2H tutorials :

Yep, 1 server

Is it possible? Yes.

How? JRavey.

You would just open each port for reading as you would a normal server and the clients would have to somehow know which IP and port to use. This would not work with Unity’s networking as it just uses one static instance of Network.

So, yes, its possible as asked, but it’s not as simple as typing Network.InitializeServer ten times.

I would like to add that just because you can do something doesn’t mean you should.