|
-
Mar 3rd, 2005, 07:06 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Resolve Server IP Address
How can i retrieve the IP address of the server my web project is running on using asp.net?
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
Mar 3rd, 2005, 07:42 AM
#2
Frenzied Member
Re: Resolve Server IP Address
Depending on your server setup Request.ServerVariables["SERVER_NAME"] returns either the Server IP Address or the Server Host Name.
DJ
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|