Hi FLJoe,
When you testing it with visual studio 2010, it will use the classic mode. (I think this is what you mean with the port). this is the visual studio behavior, not set by us. So please use the classic mdoe section when you testing with visual studio.
When you testing it with IIS, it will use the in Integrated mode what you set in IIS.
Regards,
Ken