<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Security</title><link>http://forums.asp.net/25.aspx</link><description>All about ASP.NET security (authentication, authorization, membership, roles, etc.) and the Login controls. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=24&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: How to find external IP of a machine in ASP.Net 2003?</title><link>http://forums.asp.net/thread/1847243.aspx</link><pubDate>Wed, 08 Aug 2007 12:45:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1847243</guid><dc:creator>amit.andharia@etatvasoft.com</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1847243.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1847243</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m also having same problem. i would liket to know the external(static) ip address of the server on which the website is hosted using .net. in application_start event i identify the ip adress of the server and make siteURL using it and using it as reference or say Virtual Address of the website in whole application. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How to find external IP of a machine in ASP.Net 2003?</title><link>http://forums.asp.net/thread/1628355.aspx</link><pubDate>Tue, 20 Mar 2007 13:03:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1628355</guid><dc:creator>harshal_shravgi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1628355.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1628355</wfw:commentRss><description>&lt;p&gt;Ok let me clear my doubt that I want the external IP address of my server. Its reason is -&lt;/p&gt;
&lt;p&gt;On my LAN&amp;nbsp;server there are few telephone records in the form of wav files. Now I used to play selected file in windows media player plug in by giving it a URL like this - &lt;a href="http://192.168.1.16/MIS/Wav/CH1/128.wav"&gt;http://192.168.1.16/MIS/Wav/CH1/128.wav&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;That record is played only locally (i.e. on LAN)&lt;/p&gt;
&lt;p&gt;But now I deployed it on main server i.e. on 59.95.73.97 machine here also there&amp;nbsp;are same wav files.&lt;/p&gt;
&lt;p&gt;But now problem is that I create that URL through coding. In this I find the server's IP address using - &lt;/p&gt;&lt;font size=2&gt;
&lt;p&gt;sServerIP = Request.ServerVariables("LOCAL_ADDR")&lt;/p&gt;
&lt;p&gt;But it returns 192.168.1.14 i.e. internal IP address of that server instead of this I want its external IP address as - 59.95.73.97 &lt;/p&gt;
&lt;p&gt;So please tell me how to find that external IP address or how to play those records in that window media player's plug in.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: How to find external IP of a machine in ASP.Net 2003?</title><link>http://forums.asp.net/thread/1506094.aspx</link><pubDate>Fri, 22 Dec 2006 04:43:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1506094</guid><dc:creator>harshal_shravgi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1506094.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1506094</wfw:commentRss><description>No it doesn't gives external IP.</description></item><item><title>Re: How to find external IP of a machine in ASP.Net 2003?</title><link>http://forums.asp.net/thread/1505978.aspx</link><pubDate>Fri, 22 Dec 2006 02:14:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1505978</guid><dc:creator>Iori_Jay</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1505978.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1505978</wfw:commentRss><description>If I run the website from VS IDE, I also get 127.0.0.1 for the IP address. Meanwhile if l visis the website directly from browser, it shows my external IP address. Have you tried to link in my previous post?</description></item><item><title>Re: How to find external IP of a machine in ASP.Net 2003?</title><link>http://forums.asp.net/thread/1498311.aspx</link><pubDate>Fri, 15 Dec 2006 10:08:40 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1498311</guid><dc:creator>harshal_shravgi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1498311.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1498311</wfw:commentRss><description>&lt;p&gt;No it also gives internal IP.&lt;/p&gt;
&lt;p&gt;It has written me 127.0.0.1 and my static IP is &lt;font size=5&gt;202.189.232.149. &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=5&gt;&lt;/font&gt;Just see the link - &lt;a href="http://whatismyipaddress.com/"&gt;http://whatismyipaddress.com&lt;/a&gt;&lt;br /&gt;Here you will get your machine's IP address and I want this IP address.&lt;/p&gt;</description></item><item><title>Re: How to find external IP of a machine in ASP.Net 2003?</title><link>http://forums.asp.net/thread/1498043.aspx</link><pubDate>Fri, 15 Dec 2006 04:05:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1498043</guid><dc:creator>Iori_Jay</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1498043.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1498043</wfw:commentRss><description>Try Request.UserHostAddress. You can also take a look at this article:&lt;br /&gt;&lt;a href="http://www.codeproject.com/cs/internet/obafindingipinformation.asp"&gt;Finding IP Address Information&lt;/a&gt;&lt;br /&gt;</description></item><item><title>How to find external IP of a machine in ASP.Net 2003?</title><link>http://forums.asp.net/thread/1495415.aspx</link><pubDate>Wed, 13 Dec 2006 06:47:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1495415</guid><dc:creator>harshal_shravgi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1495415.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=1495415</wfw:commentRss><description>&lt;span class=v11 id=lblDescription style="COLOR:darkblue;"&gt;I want to find external IP(or static IP)&amp;nbsp;of a machine from its internal IP address. How to do this?&lt;br /&gt;Or Can we find external IP address of the client's machine directly?&lt;br /&gt;I find internal IP address of client machine&amp;nbsp;using Request.ServerVariables("LOCAL_ADDR") &lt;br /&gt;Now I want its external IP Address?&lt;br /&gt;&lt;/span&gt;</description></item></channel></rss>