I am looking for IP url's from a website. They are some simple beach IP cams, I would like to use them in an app. However, I can't extract the IP url using Google developer tools.
This is the website:
https://www.middelkerke.be/nl/toerisme/webcams
Using developer tools, I can see these two streams that look like this:
https://ipcamlive.com/player/player.php?alias=middelkerke&%3Bautoplay=0&%3Bmute=1
And the other streams looks the same, also using the ipcamliveplayer.
But I can't use this in VLC for example. Does anybody have an idea? It's for my mom, she likes to see this specific beach.
Do you know port number that IP cams?
I think that IP cams have username - password.
IP cam live's IP address is 84.22.111.194 and I try default rtsp port ( 554). But it didn't work.
Namely, first of all, you can learn that camera router IP address and camera port. And then If is there any username - password you can't stream that video.
I advice you, contact that site owner and ask him "IP address, port number and username-password" after that you can create your RTSP command line."
I hope that answer can help you.
Related
More than a question this may be general information . I am using a VPN service and located in the Middle East. I've found most (if not all but one) IP geolocation webpages shows my location as New York which matches the VPN IP address. But the service whatismyipaddres_dot_com shows the correct IP address and my location in Kuwait. Clicking some links on the mentioned webpage it takes me to a page showing they use several services from which one is showing Kuwait and the other two New York. However,contary on the expected "majority vote", they pick the single one different which, in fact, is right. As you can see they do not mention the name, but I believe the provider is Maxmind (maxmind_dot_com).
Sorry, not allowed to post images!!
Does anyone knows what they may be using ( router MAC? Google account ?).I use VPN to access ESPN , etc , but if this method is used by all other geoloc services in the future ,it will render the VPN unusable !
The web site whatismyipaddress dot com is using a mixture of HTML5 geolocation and IP geolocation.
Most likely your MAC address are being used to geolocate the location using HTML5 than using IP address geolocation.
Source: http://www.geolocation.com
I want to request the remote address of the session user in grails. I found a question here which describes the problem (Grails find public IP address of the session user) and the answer really works. I use only request.getRemoteAddr() and I receive 0:0:0:0:0:0:0:1 in my localhost.However, what I have to do to see the real IP address of the user?
In this previous question which I have found it is said "Try looking at the output of request.remoteAddr when viewing the site from a different computer". I really don't know what this means and I need your help here. I can load the server only in my own browser and I use "localhost:8080/..."
Please,tell me how and where to get the correct request. Thanks!!!
"Try looking at the output of request.remoteAddr when viewing the site
from a different computer"
means that you will need to connect to the application running on your machine from another machine in your LAN.
If you have another machine in your LAN, you will need to find your local network IP address (use ipconfig) and from the other machine connect to this address. For example if your IP is 192.168.0.2, connect to http://192.168.0.2:8080
As tim_yates mentioned request.getRemoteAddr() may not always return the correct address due to dynamic addressing and proxy servers. However you may find the original address from various HTTP headers such as: HTTP_CLIENT_IP, HTTP_X_FORWARDED_FOR, HTTP_X_FORWARDED
Take a look at the answers to this question which provides more information about this subject.
That's the best you're going to get.
0:0:0:0:0:0:0:1
Is your local address. Also, this cannot be guaranteed to be unique to a user due to dynamic addressing and proxy servers
When I need to access some urls, I modify the content of "hosts" file in System32.
I am confused about this.
When should I change this file? What can this file do?
I normally think about the hosts file as my local DNS.
As you know, the internet is made of computers, each having its own unique IP address. So for exmaple, in command line, if you ping google (via the command: ping www.google.com), you will get a respoinse with the ip address for google. In my case, it returned 173.194.77.99. Now, if I enter this number to the address bar of the browser and hit enter, it will take me to google.
However, memorizing those numbers is really hard, and therefore some smart people invented DNS servers (Domain Name Servers). Those are computers whose job is to map an IP address to a URL, so it is like a table that contains a lot of information about IP addresses, so there is an entry three for google for example. Now, when you type google.com in your address bar, the address is taken to the DNS server, and the corresponding IP address is returned and your browser is taken to that site.
Now, the hosts file is used for to create a similar table to contain IP/name information. I use it on my local network to give names to cumputers, so inested of saying go to computer 192.168.0.001, I would say go to computer "barcelona" or computer "toronto" depending on how I name it.
Hope this helps, cheers.
The hosts file is a computer file used in an operating system to map hostnames to IP addresses. The hosts file is a plain text file and is conventionally named hosts.
references.
http://en.wikipedia.org/wiki/Hosts_%28file%29
If your system unable to find the IP address for the host name then you can explicitly mention the ipaddress here.
This file managed to resolve domains to IP-addresses before DNS-servers were invented.
For instance: example.org --> 123.56.13.25
I'd like to give a URL to some non-tech coworkers so that they can view a proof on a webpage on our test server.
This server is not in their DNS, so I'd like to supply them the IP, but there are several sites running on the same IP. Is there a way to put the IP address and the hostname into a url? Else, is there another way to achieve my aim (besides asking my coworkers to alter their hosts file)?
Not that I know of. You could maybe host the site on an alternative port though? Then you could just use the ip and the port for the url.
I'm using the Play Framework which uses http://localhost:9000 by default. I'm also trying something with Twitter and it needs to use a callback url for authentication, but Twitter won't accept http://localhost:9000 as a callback URL.
How can I configure my localhost to map to something like http://mylocal.loc, (similar as with an Apache vhost), instead of http://localhost:9000?
The problem is that the URL needed to be entered in the following format:
http://127.0.0.1:9000/twitter-callback
The above works perfectly as a Twitter callback address.
Twitter isn't trying to access localhost directly, it simply takes the above address as far as I understand, sticks it into the HTTP response header, prompting whichever browser being used to perform a straight forward 302 redirect.
The following blog post had some invaluable information in regards to this question:
http://www.tonyamoyal.com/2009/08/17/how-to-quickly-set-up-a-test-for-twitter-oauth-authentication-from-your-local-machine/
The reason that twitter can't use localhost as a callback url is because localhost is a redirect to your computers loopback interface. In other words, localhost is always the computer that you're on. In order for other computers (including twitter) to access your host, you need to use an external IP address, or a hostname.
To get your IP address, visit whatsmyip. This will tell you your external IP address (which other computers on the internet can access). If you have a static IP address, you can purchase a domain name, or get a free one from something like no-ip or dyndns to make it easier to remember and type. You'll need to point a DNS record from that domain to your IP. You'll also probably need to do some port forwarding and stuff to get it to go to your computer on port 9000, rather than your router (dependent on your network setup).
Possibly an easier option would be to obtain a free hosting/domain service whilst you're testing.
EDIT: josef's problem was not related to the absence of internet access to his local server, see his own answer for what was going on and a solution. This answer handles the case where a local server needs to be visible from the internet.
localhost, aka 127.0.0.1 is the name that on each computer points to the computer itself. So Twitter looks at itself, obviously doesn't see the service, end of story.
If your computer is connected to a local network, most likely that network is NATed and using private addresses like 192.168.x.x, 10.x.x.x or 172.16x.x.x. These addresses are private (not known outside of the local network because not routed on the internet), so that doesn't help you either.
What remains is your public IP address, ie the address your router gets from your ISP. Via DNS you can map that address to a name, a free service that allows you to map a fixed name also to a variable address is DynDNS.
But wait, there is more! Your router protects your network by not allowing traffic originating OUTSIDE the private network IN, unless you define some forwarding rule in the router, in your case a rule that forwards incoming tcp traffic on port 9000 to your machine's port 9000.
Once all that has been taken care of, your computer will be accessible from the outside, and your callback should work.
Edit your hosts file and add the following line:
127.0.0.1 mylocal.loc
For Windows, it is located in C:\Windows\System32\drivers\etc\. On *nix, you can find it in /etc.