I
I
Ilya Beloborodov2017-06-27 16:17:55
PHP
Ilya Beloborodov, 2017-06-27 16:17:55

Why does $_SERVER['REMOTE_ADDR'] return ::1?

Working with MAMP 4 PRO, $_SERVER['REMOTE_ADDR'] returns ::1.
I need 127.0.0.1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
ololo pishpish, 2017-06-27
@ololopishpishrealne

::1 is the same, only in IPv6
https://stackoverflow.com/questions/2939311/remote...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question