Hi Alberto,
you're attacking this completely backwards.
You should be reducing the number of max Instances, not increasing it.
The error is coming from Windows, not the program. Remember some versions of windows have limits on how many ports can be open at a time, so you want to reduce the number of ports your program uses, not increase it.
Cheers
Bruce