IP Adress ? and code line is Request.UserHostAddress.ToString ?

Last post 06-05-2008 6:28 AM by M imran shafiq. 1 replies.

Sort Posts:

  • IP Adress ? and code line is Request.UserHostAddress.ToString ?

    06-05-2008, 6:07 AM
    • Member
      525 point Member
    • oguzkaygun
    • Member since 04-27-2008, 12:44 PM
    • Posts 1,261

    hello friends

    i use visual basic for visual web developer and my web site works on my computer (hot hostname)

    i want to display IP adress to textbox1.text and my code line is textbox1.text = Request.UserHostAddress.ToString

    but textbox1.text display to 127.0.0.1 :) but should it be IP adress like 88.133.168.01 ??? how can i display this ?

    cheers

    Mark as me if my question or my answer can be helpful for you :)
  • Re: IP Adress ? and code line is Request.UserHostAddress.ToString ?

    06-05-2008, 6:28 AM
    Answer

    when you run application on local then ipaddress 127.0.0.1 will show try it on internet after upload page on server.

    If this post was useful to you, please mark it as answer. Thank you!

    Regards.
    mimranshafiq
    .NET Web Developer
    http://www.dotnetclassic.com
Page 1 of 1 (2 items)