The integrated server is opened on a random port when opening to LAN.
The problem is the method net.minecraft.util.HttpUtil.func_76181_a() where the Socket is created with a parameter set to 0.
It would be really cool to have a machanism to have this value changed.
I did this before in combination with a GUI, but now that we can't edit base classes anymore, this is impossible.
Thanks in advance!