IIS returning 302 if not on localhost
<p>I am working on an asp.net page that handles paypal IPNs (instant payment notification).  </p>

<p>For those who don't know how IPNs work, I'll explain.  When some kind of transaction occurs on paypals servers, paypal will send a POST message back to a certain page on my server.  If customer A uses paypal, paypal lets us know so we can keep records of transactions that don't actually occur on our machines.  </p>

<p>My box has proper port forwarding. Paypay sends data to <a href="http://www.companyurl.com:2343/ProcessPaypal.ashx" rel="nofollow">http://www.companyurl.com:2343/ProcessPaypal.ashx</a>, where port 2343 redirects to my box running IIS.  This set up was working fine yesterday.  Today, however, I stopped getting any of my test IPNs.  </p>

<p>Running wireshark, it looks like my box is receiving those IPNs, but returning 302s that look like this: <a href="http://www.companyurl.com/ProcessPaypal.ashx" rel="nofollow">http://www.companyurl.com/ProcessPaypal.ashx</a> (notice the lack of a port number).  </p>

<p>My question is this: is there a way to tell my computer not to 302 the IPNs and just process them like it should?  As far as I know I didn't change any config files.  Also, I can access these pages fine on local host.</p>
