title: c# restful selfhosted api winforms works with my local ip but dosent work with my plubic ip event with port redirect
body: <p>So the problem is this, I created a restful selfhosted api, to work with my mobile app, on the app mobile I stored my public ip (190.xxx.xxx.xxx) when I try to consume the api from the same network donset work no response, If I go 3g or in anoter network its work fine.</p>
  <p>I try on my browser those 2 situation:</p>
  <p>http://localIp:port/api/Menu/... its work</p>
  <p>http://externalIp:port/api/Menu/... dont work - ps. this work only if I on a diferent network or 3g.</p>
  <p>But I need to keep sotored my plubic IP for the external users and I dont want to store 2 ips internal and external to check if the user is on local network or external.</p>
  <p>in summary my clients can use the app outside the office, but in the office with wifi connected they cant.</p>
  <p>Tks for anyhelp</p>