This works for me on a web service, give it a try, on client and then you can return the IP to the WS?
regards
Graeme
Imports System.Net
Private Function ReturnServerIP() As String
Dim sHostName As String
Dim i As Integer
sHostName = Dns.GetHostName()
Dim ipE As IPHostEntry = Dns.GetHostByName(sHostName)
Dim IpA() As IPAddress = ipE.AddressList
ReturnServerIP = IpA(0).ToString
End Function
**********************************************************************
Sent via Fuzzy Software @
http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...