473,403 Members | 2,293 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,403 software developers and data experts.

GetIp

Hi,

I have a linux coyote firewall server.. when i try to get the ip from who
called my web service i got the ip from my server.. not the user ip..
this is the code that i am using...
Dim oRequest As HttpRequest
oRequest = HttpContext.Current.Request
Dim sIp As String
sIp = oRequest.ServerVariables("REMOTE_ADDR")

how i can get the ip from who call my web service... there is any place
where i can get this??????????
help...
thanks
Jul 5 '06 #1
1 949
Try this

string hostAddress =
System.Web.HttpContext.Current.Request.UserHostAdd ress.ToString();

"Felipe" wrote:
Hi,

I have a linux coyote firewall server.. when i try to get the ip from who
called my web service i got the ip from my server.. not the user ip..
this is the code that i am using...
Dim oRequest As HttpRequest
oRequest = HttpContext.Current.Request
Dim sIp As String
sIp = oRequest.ServerVariables("REMOTE_ADDR")

how i can get the ip from who call my web service... there is any place
where i can get this??????????
help...
thanks
Jul 12 '06 #2

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

Similar topics

1
by: revolnip | last post by:
As attached is the code : <% Option Explicit dim lngTimer lngTimer = Timer %> <!--#include file="Connect.asp" --> <!--#include file="Settings.asp" --> <!--#include file="Common.asp" -->
31
by: Me | last post by:
Am I right in thinking that when you connect to a website via a proxy, only Java (not JS) can get one's IP address? Thanks.
0
by: Jonas Hei | last post by:
I need to develop a scalable server which has to receive and send UDP messages. It is required to process hundreds of messages (coming from different remote computers) per second (possibly even...
4
by: Peter Gloor | last post by:
I'm writing an application that requires some dns queries (MX etc) not provided by System.Net.Dns. So far I managed to write my own dns class with methods to query a given dns server. There is...
2
by: cha | last post by:
Hi there, how is it possible to retrieve the IP-Address of a user that requests my Web-Service written in VB.NET (asmx)? Any way to do this? Thanks for any help in advance, Christian...
3
VijaySofist
by: VijaySofist | last post by:
Hai! I need to find out the IP Address of any System thro Visual Basic 6.0 by using the Drive Letter (If it is mapped in my System). Can anybody Help me in solving the problem
6
by: duit889 | last post by:
how to using java class in php? thank you
1
by: duit889 | last post by:
this is my java class: filename : HGO.class and HGO.java Script: package nano; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import...
17
vikas251074
by: vikas251074 | last post by:
I have create form as below - <table> <tr> <td align="right">VLAN Name : </td> <td> <select name="vlan_name" style="width:150px "> <% ...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.