[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


get IP address of the "consumer" of web service

Posted on 2006-04-27
Medium Priority
Last Modified: 2012-06-27

Is there a way to get the IP address of a machine consuming a web service?
Ideally, I would like to check an IP address of an incoming connection and then check to see that it is in a table before allowing the client access to the web service. (perhaps an initial service would determine the IP, verify it, then turn on the main web service)

Question by:simplyamazing
LVL 96

Accepted Solution

Bob Learned earned 2000 total points
ID: 16566942
Let's see:

1) From an ASP.NET web page, you could use:


2) Try the fully-qualified name:



Author Comment

ID: 16569017
for some silly reason, I was making this way more complicated than it had to be, but a web service really just uses HTTP for like any typical web page (I should really get more sleep, or more brains :)

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Integration Management Part 2
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question