I am trying to get the IP address which loads a certain website. For example; www.smmadmin.com - I tried http://192.185.77.222/ but that shows 404 page, the IP address is given by getip.com
How does this thing work? and how to get the actual IP address?
You can simply try ping command if you are on Windows.
ping www.smmadmin.com
Let me know if it doesn't work
Related
I've been setting up data visualizations for my Fortigate device, and logs from the device just give the destination IP of the app the user is accessing. I want to know if it is possible to know the website url of each destination ip supplied by the raw logs of the device. Thank you
You can get the hostnames for the given IP address using the reverse IP lookup tools.
Looking up for URLS is something not supported off the shelf, however you can do further some lookups once you know the hostname.
I need the client IP address to find the client location so that I could list the details of that area to he client. I used this code to find the IP address.
$this->container->get('request')->getClientIp();
But I'm getting the IP as 127.0.0.1.
How can I get the client IP address? Can someone give me a complete working code?
It's 127.0.0.1 because your server is installed on your machine (I guess).
But $request->getClientIp() is the right way to get the user ip.
For the geolocation, I suggest you to take a look at the geocoder library and his bundle.
I've been trying to port forward on my router for the last couple days with little success. I just realized that my IP is not in fact static as it is supposed to be, would this cause ports to show as closed?
Not of course.
You can open ports on your firewall.
The problem is that your ip will change and someone to find you again needs the new one. Find your new one there http://whatismyipaddress.com/
You can work with a dns manager like http://www.noip.com/ to have a dns name.
Also the problem with the firewall ports is that your computer will change your IPV4 address and then you must edit your port configs again. Go to run->cmd->write ipconfig and see that your ip is different now.
No, if you setup port forwarding, it will work regardless of what your external IP address is and will remain in place even if your external IP address changes. In other words, traffic will be forwarded to the internal IP address on port you specify, even if the external IP address changes.
Now, the trick is going to be finding out your external IP address when you are working remotely. This is one creative way:
http://lifehacker.com/5737187/use-dropbox-to-find-the-ip-address-of-your-remote-computers
If you're having other issues, try looking into the firewall settings of your computer.
Its a small and simple question, But still i didn't get in an online.
I just trying to find out my IP address of my computer.
So with help of online, I just follow www.whatismyip.com . so it shows like this "xxx.xxx.xxx.xxx".
And when i run IPCONFIG in my command prompt, it shows ip address and default gateway.
But it is totally different these ip address[which is got from online and from cmd prompt].
So i just confused,
what is the ip address from "this website <www.whatismyip.com> and
what is the ip address from cmd prompt.
When i refer in online, there are 2 types of ip address[public and private].
I just confused with these ip addresses. Can anyone please help me to explain me about this?
Thanks in advance.
Public IP address is that one which allows that people can access to your web site/app from anywhere on Internet. Private IP is that one which belongs to your Internet local network (your home or another LAN).
i am trying to implement personalization in my website using the IP address. but because of firewall i'am no able to get the user's original ip address. I tried following lines of code
HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"].ToString();
HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"].ToString();
HttpContext.Current.Request.ServerVariables["HTTP_CLIENT_IP"].ToString();
Please try these two
Request.ServerVariables("REMOTE_ADDR")
or
Request.UserHostAddress
To get the IP address of the machine and not the proxy use the following code
HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];