Open nestarz opened 4 years ago
Hey 👋 thanks for the report.. just so that I am clear whats going on, you do something like this:
import servor from 'servor';
servor({ ... })
servor({ ... })
And this results in both servers running on the same port?
Exactly !
Using the API, I start two instances of Servor without waiting the first promise to finish, without port specified, the
net
library cause them to have the same port.If I just do this it works:
They have two differents ports, (51159 and 51160 for example).