Questions tagged as 'ip'

1
answer

Help with role organization [closed]

I am developing an IP calculator, and now I need to find the first valid IP of the original network entered. I've separated my code into functions, which I think instead of helping, it got in the way. My problem is this: I have a function that d...
asked by 05.07.2017 / 16:27
1
answer

How to get the local IP address using PHP?

I have an application in which I want, like test, to get the local IP address from my PC. I did a little research and I saw that it is possible to rescue it using the following code: $ip = $_SERVER["REMOTE_ADDR"] But it did not work for m...
asked by 14.02.2017 / 23:37
1
answer

How to rescue external IP address on Android?

The IPV4 local address is not too complex to redeem, you can do this by using the NetworkInterface . But in addition to the site, there is also the external IP , where I noticed that some people use some APIs , such as the WhatIsMy...
asked by 26.04.2017 / 02:01
1
answer

How to view DNS domain only with IP number?

When we ping a URL address type www.google.com the prompt returns us the IP 172.217.30.4, now I would like to know how to get the URL address only with the IP number through PHP, preferably. Thanks in advance for your understanding.     
asked by 06.01.2018 / 21:26
1
answer

With identifying if the access is internal or external?

I have an application in asp.mvc that has 3 (three) access types, 2 internal and 1 external. Internal access is done by LDAP and the external one by a user table. No entanto o usuário externo também pode está na rede interna.(aqui é a xarada)...
asked by 14.05.2018 / 14:47
1
answer

Compare array character

I'm developing an IP calculator in PHP. I have a mask array in binary, with 4 positions and in each position has 8 characters, I want to compare each character of each position to know if the bit is set. Is there any function that does this? Or...
asked by 30.06.2017 / 15:53
1
answer

How to host a laravel site on windows server?

The computer where I want to host the site developed in laravel is in another network. I put the whole site on the server and ran the command php artisan serve --host MEUIP --port MEUPORTO When I test on another computer does the browser re...
asked by 19.08.2017 / 18:33
2
answers

Quick site when access by IP, but super slow via Domain Name [closed]

I'm having a problem that when accessing my VPS server using IP, access is immediate but when access using HTTP, the page takes 10 seconds to open, I did some tests on my local machine and this was the result (Image 1): ImadeaVNCaccessonthes...
asked by 30.09.2016 / 11:56
1
answer

Domain pointing to an IP with port?

In cPanel with a Type A record I can only specify the IP to which the domain is to be forwarded, this will by default redirect to port 80, but if the target settings are running on a port other than 80. How can I specify in cPanel a record th...
asked by 21.01.2017 / 22:20
0
answers

What is scoped address zone in IPv6?

I was watching the Golang net library, until I found the IPAddr type which is exactly: type IPAddr struct { IP IP Zone string // IPv6 scoped addressing zone } What caught my attention is this "Zone", which refers to th...
asked by 03.06.2018 / 08:03