Questions tagged as 'ip'

1
answer

How to pass a parameter from a page to a provider on ionic 3?

Hello, I would like to know if it is possible to set the ip address when consuming a web service rest in ionic 3, where the user could define the address and port to which the api would be. The user would define the ip address in the page, for e...
asked by 07.08.2018 / 16:33
0
answers

Registration (Log) of visits to a Website through IP and guradar in a DB

After a search I still have not found what I wanted. I wonder if you can help me with the reasoning for this feature. With PHP and MySql is it possible to save visits to a website in a database, and in this, save the IP of who accessed the page?...
asked by 06.08.2018 / 11:00
0
answers

Sending E-mail from DDNS Server

Good evening! On a non-static IP (Ubuntu Server) LAMP server, external access via URL is provided by the No-Ip , and until then it works satisfactorily. However, it is necessary to send emails on this server for resources with recovering...
asked by 03.08.2018 / 23:45
0
answers

Doubts with IP function

I use the following function below to search for the user's IP, regardless of the type of connection or device it uses. function get_client_ip() { $ipaddress = ''; if ( isset( $_SERVER[ 'HTTP_CLIENT_IP' ] ) ) $ipaddress = $_SERVER[ 'HTTP...
asked by 16.05.2018 / 13:52
1
answer

How do I block users based on their location?

I have an application where users type A posts information. By default these posts will be available to any web user, anywhere in the world. But there is a possibility for user A to restrict his post 123 to some cities. In other words, userA...
asked by 05.04.2018 / 15:55
3
answers

How to determine the approximate location of the user by IP?

When I use search engines for certain searches, mostly related to maps or commercial establishments, these systems often serve me relevant results for my geographical location. When I'm on the PC, search engines may not even know my geographi...
asked by 05.10.2014 / 22:23
2
answers

Network connections between processes inside a machine

When you give the command netstat -na in the windows cmd, the network connections that are in progress on the machine appear. In my case several connections appeared, having as source and destination IP the "127.0.0.1" which is the "internal"...
asked by 31.07.2017 / 00:33
0
answers

PHP giving error / ip pointing router

Hello! I am trying to create a web server on my PC, I have already installed apache, mysql and php, but when I try to access, then the joy ends. I'm trying to install Drupal and OpenCart, but when I access the drupal, it points to the folder ins...
asked by 05.08.2017 / 14:28
1
answer

web socket server only works with localhost

I'm setting up a chat where I have a client.php and a server.php. In the server.php code I define IP as 127.0.0.1 and Port 1900. When I change the IP to fixed IP or to hostname, the server.php can not start, it only works if I leave 127.0.0.1 or...
asked by 27.05.2017 / 16:23
2
answers

How to get all ips associated with some domain with Python?

I need to create an application that gets all the ips associated with some domain. I tried using the following code in Python: import socket print(socket.gethostbyname('facebook.com.br')) However, it only returns me an IP. Is there a way t...
asked by 15.02.2017 / 02:25