Link to home
Start Free TrialLog in
Avatar of Sycon1
Sycon1

asked on

retrieve an IP address

hi,
does any know how i can get the iP adress of my local machine on a web page using asp?
thanks a mil.
ASKER CERTIFIED SOLUTION
Avatar of pillbug22
pillbug22

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bdunz19
bdunz19

lol... well you posted this question in the wrong topic, but I happen to know the answer:

Request.ServerVariables("REMOTE_ADDR")

That will return the IP address of the machine that is viewing the web page. So if you are looking at the page it will return your IP address.

Brandon