The folks in the know suggested this as the appropriate list. I am not trying to obtain an ip address in order to access locally Tomcat, but to access Tomcat globally. Therefore, the local subnet address will not help. By a request object, I mean an http request object that I send to an outside computer and which, then, holds under request.getRemoteAddr()the ip address. However, this appears to be an alias ip address which resolves to a remote host that is the isp address preceeded by a series of hexadecimal numbers. Does that help?
Michael McGrady
At 07:57 AM 12/15/2003, you wrote:
!!! u r posting a question about networking, this is the wrong place to post !!!
but i will answer ur question anyway:
u r behind a router, think of a router as two pieces, a piece that talks to the outside world (the internet) and a piece that allows your internal network to communicate with itself, between these two pieces is a firewall
now, if ur on a pc network like me, the easiest way to figure out a computer's INTERNAL IP (because thats the ip u want) is to go to Start -> Run ... -> type: "cmd" then hit Enter -> type: "ping <computer-name>" then hit Enter this will reveal the computer's internal IP now, that piece on ur router that talks to the outside world u can consider it as a "computer" that has not only an internal IP but also an external one (the external IP is the one ur ISP assigns to u)
i dont know what u mean by "request object" and i dont know what program u r using to talk to each of the computers on ur local network, but u shouldn't have to go outside of ur router and then back in to talk to a computer that is local on ur network
Thanks,
Alan Czajkowski ------------------------------------- Database Administrator BMO Financial Group Decision Support Services 3300 Bloor Street West 14th Floor, West Tower Toronto, Ontario, M8X 2X2 Tel: 416.232.8736 -------------------------------------
webmaster <[EMAIL PROTECTED]> 15/12/2003 10:21 AM Please respond to "Tomcat Users List"
To: [EMAIL PROTECTED] cc: Subject: IP Addresses on Subnets, etc.
I want to use my home computer for some development on Tomcat. I frequently use a laptop which is on a home combination wire and wireless router (one wireless and four wires). How can I find out the ip address of each machine in the the network? A call to the ip address of the laptop yields the subnet address 192.168.0.101, which, of course, is not the real
ip address. A determination by examining a request object sent from the laptop reveals an alias of some sort from the isp. So, somewhere in between is the real ip address of the laptop. How do I find that? Thanks.
Michael McGrady
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
LEGAL NOTICE
This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]