TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Hariharan Krishnamoorthi
NA
706
169.5k
Get the Client Machine IP address from ASP Web application
Sep 25 2017 2:52 AM
I have hosted the ASP.Net web application in the server Serv-A and its IP address is 192.168.1.1
I am browsing the above web application in the client machine Client-1 and its IP address is 175.30.1.1.
Here i need to capture my Client-1 machine's IP address whenever the applicaiton is accessing. I used the below codes, but i am not able capture the exact Client-1 machine IP address as 175.30.1.1
The below codes are not working. Kindly let me know should i configure in the machines too?
string
IPAddress = Request.ServerVariables[
"REMOTE_ADDR"
]
string
IPadd2 = Request.UserHostAddress
Reply
Answers (
3
)
Repeater Control
images doesn't appear in email when sent email using asp.net