I m using .Net 2005.
I want to send sms through proxy,
below code is nicely working on localhost but not on hosting server.
Suggest me how to run this code on server.....

Dim request As WebRequest = Nothing
Dim response As HttpWebResponse = Nothing

Dim url As String
url = "http://xyz.com/I/rest?method=sendMessage&send_to=" & mobilno & "&msg=" & msgs & "&userid=" & userid & "&password=" & passwd &"
request = WebRequest.Create(url)
Dim proxy As New WebProxy("http://xyz.com/I/")
proxy.Credentials = New NetworkCredential("x", "y", "http://xyz.com/I/")
request.Proxy = proxy
response = request.GetResponse()