473,385 Members | 1,610 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

obtaining client side IP

Hi,

Is their a client side VBscript command that I can use to post the local IP
address of the machine back to my web server.

I want to obtain the client's side IP address of their machine. However
because my IIS stands behind a firewall and uses reverse hosting techniques,
the http headers contains the firewall's IP instead of the client's.

Thanks,
Jul 22 '05 #1
6 3823
Given that the machine is behind a firewall, what use is the local IP going
to be to you? it's likely to be 192.168.0.12 or something similar, i.e. a
local IP address, not a fully-fledged internet address. This will not
uniquely identify a machine.

Yes, an internal IP *and* an external IP would do a better job, but it's
still not a valid unique identifier. For instance, my home machines are
distributed around behind a few routers, in tiers, but they all appear to be
behind my front-end IP, however I can make two or three machines inside
appear to have the same internal IP address (192.168.0.2, or simlar) quite
easily. Just takes a little fiddling with router settings.

So what I'm trying to say is that before any other considerations such as
privacy or security, the local IP is immeidately of limited use. Though that
depends why you want it.
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.

"Paul" <an*********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi,

Is their a client side VBscript command that I can use to post the local
IP
address of the machine back to my web server.

I want to obtain the client's side IP address of their machine. However
because my IIS stands behind a firewall and uses reverse hosting
techniques,
the http headers contains the firewall's IP instead of the client's.

Thanks,

Jul 22 '05 #2
I've just re-read your question and I'm no longer 100% clear. I had thought
you meant the client was behind a NAT, now it looks like you're saying the
server is behind one? and all clients are reported as being the firewall?
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.

"Jason Brown [MSFT]" <i-******@online.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Given that the machine is behind a firewall, what use is the local IP
going to be to you? it's likely to be 192.168.0.12 or something similar,
i.e. a local IP address, not a fully-fledged internet address. This will
not uniquely identify a machine.

Yes, an internal IP *and* an external IP would do a better job, but it's
still not a valid unique identifier. For instance, my home machines are
distributed around behind a few routers, in tiers, but they all appear to
be behind my front-end IP, however I can make two or three machines inside
appear to have the same internal IP address (192.168.0.2, or simlar) quite
easily. Just takes a little fiddling with router settings.

So what I'm trying to say is that before any other considerations such as
privacy or security, the local IP is immeidately of limited use. Though
that depends why you want it.
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no
rights.

"Paul" <an*********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi,

Is their a client side VBscript command that I can use to post the local
IP
address of the machine back to my web server.

I want to obtain the client's side IP address of their machine. However
because my IIS stands behind a firewall and uses reverse hosting
techniques,
the http headers contains the firewall's IP instead of the client's.

Thanks,


Jul 22 '05 #3
Paul wrote on 19 mei 2005 in microsoft.public.inetserver.asp.general:
Is their a client side VBscript command that I can use to post the
local IP address of the machine back to my web server.


Not using ASP.

ASP is unaware that there is such a thing called clientside.

Please ask in a clientside or vbscript NG.

[though I doubt there is such command,
and if there where it would only work in IE]

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 22 '05 #4
Dear Jason,

I am trying to script a web-based conferencing website using netmeeting
which is commonly available on all PCs. I am using the h.323 gatekeeper on
ISA for registering internal users for internet clients to place calls to;
so that part is fine. The part that is creating problems is scripting for
internal users to place calls to internet users, because the internal users
need to know the IP address of the internet clients' internet IP address
before placing a call, which could change each time internet users connect
their notebooks to the internet. Since these will be business users, I can
not reasonably ask the internet users to enter their internet IP each time
they connect as that would be deemed as too technical for some, if not all
of them. If I can obtain the internet ip address of the external users when
they visit our IIS server (sitting behind the ISA firewall), then hiding all
the connection parameters from the users would go a long way to making the
whole thing easy to use and usable in a business context. ISA strips out the
originating internet IP address in web publishing.

Thanks,
"Jason Brown [MSFT]" <i-******@online.microsoft.com> wrote in message
news:#n*************@TK2MSFTNGP15.phx.gbl...
I've just re-read your question and I'm no longer 100% clear. I had thought you meant the client was behind a NAT, now it looks like you're saying the
server is behind one? and all clients are reported as being the firewall?
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.
"Jason Brown [MSFT]" <i-******@online.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Given that the machine is behind a firewall, what use is the local IP
going to be to you? it's likely to be 192.168.0.12 or something similar,
i.e. a local IP address, not a fully-fledged internet address. This will
not uniquely identify a machine.

Yes, an internal IP *and* an external IP would do a better job, but it's
still not a valid unique identifier. For instance, my home machines are
distributed around behind a few routers, in tiers, but they all appear to be behind my front-end IP, however I can make two or three machines inside appear to have the same internal IP address (192.168.0.2, or simlar) quite easily. Just takes a little fiddling with router settings.

So what I'm trying to say is that before any other considerations such as privacy or security, the local IP is immeidately of limited use. Though
that depends why you want it.
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no
rights.

"Paul" <an*********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi,

Is their a client side VBscript command that I can use to post the local IP
address of the machine back to my web server.

I want to obtain the client's side IP address of their machine. However
because my IIS stands behind a firewall and uses reverse hosting
techniques,
the http headers contains the firewall's IP instead of the client's.

Thanks,



Jul 22 '05 #5
Will try vbscript group.

"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
Paul wrote on 19 mei 2005 in microsoft.public.inetserver.asp.general:
Is their a client side VBscript command that I can use to post the
local IP address of the machine back to my web server.


Not using ASP.

ASP is unaware that there is such a thing called clientside.

Please ask in a clientside or vbscript NG.

[though I doubt there is such command,
and if there where it would only work in IE]

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 22 '05 #6
On Thu, 19 May 2005 09:20:19 +0700, "Paul" <an*********@yahoo.com>
wrote:
Is their a client side VBscript command that I can use to post the local IP
address of the machine back to my web server.


Sure. Only this isn't a client side VBScript group.

Jeff
Jul 22 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: middletree | last post by:
I need to capture the previous page's URL. I thought I could find a way to do it with client-side code, but I have been unable to find a way to do that, so perhaps there's an ASP solution. ...
4
by: What-a-Tool | last post by:
Is there an ASP method for obtaining the size of the clients display area? Think I can think of a method(havn't tried it yet) combining JavaScripting and ASP, but I was wondering if there was a...
3
by: hendedav | last post by:
Hi gang. As with any other post, I am working on a project and have gotten stuck. I am trying to obtain a variable value in the parent webpage from an <iframe>. For instance: Parent Page code...
7
by: Privacy Advocate | last post by:
//crossposted to: comp.lang.javascript, alt.comp.lang.javascript in an effort to get factual answers from JavaScript experts// Simply put; Is it possible to obtain the real (actual) IP address of...
3
by: Wade | last post by:
08242005 1416 GMT-5 Recently some of you helped me with a script to change images. Well I was asked to make a change to the script and not knowing if what the school system is even possible, Ill...
2
by: adamcort | last post by:
I am trying to create a simple page for users to log printer issues on our PS4 Citrix farm. I have created a simple html form and published it on our intranet, the form only asks too questions,...
8
by: Daz | last post by:
Hi everyone. I just wanted to know if there was any way to use script to display a list of methods linked to a particular object? The object I have in mind is getBrowser(), and I can't seem to...
6
by: honguin | last post by:
Hi, The current scenario is that I have an iframe inside an asp.net web page where I periodically check the url inside the iFrame. I know that all this information can be obtained in the...
4
by: Marcin | last post by:
Hi All, Let's say we have site index.html with JS embedded there in this way: <script type="text/javascript" src="my_script.js?username=mr_bean"></ script> Question: How to get access to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.