Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Get Client IP Address via TWebRequest in ISAPI web server application

Posted on 2004-10-04
6
Medium Priority
?
825 Views
Last Modified: 2010-05-18
i recently developed one web server ISAPI application via Delphi ...a dll is generated ...

i hope to get client user ip address ...so, i use TwebRequest.remoteIP ....however, it comes out internal IP address which is 192.168.0.xxx, is there anyway i can get their external IP address which can uniquely identify each client user ?


thanks

0
Comment
Question by:ivylnm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 12215265
TWebRequest.RemoteAddr ?!
0
 

Author Comment

by:ivylnm
ID: 12215280
oh ..sorry ...my mistake... i use both TWebRequest.RemoteAddr and TWebRequest.RemoteHost ....but, it is still the same ...giving me the internal IP Address ...not the external IP ..any idea ?

thanks
0
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 12215951
maybe you connect to local network or remote via VPN ... where is the client located ?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 22

Accepted Solution

by:
Mohammed Nasman earned 375 total points
ID: 12216091
Hello
  TWebRequest.RemoteAddr will return the external IP, not the internal, As Ivanov_G  said before,

  You need to test your ISAPI from outside your LAN
0
 

Author Comment

by:ivylnm
ID: 12223543
I tried to access my dll outside a LAN, but it always give me 192.168.0.11, i did install firewall in my LAN, is it  because of the firewall settings ?
i just want to uniquely identify each user who access my dll .....
0
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 12224191
I have no idea what exactly you are doing there, but this works.

Can you create a simple DLL, which output the RemoteAddr and give me the URL... ?
0

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

618 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