<tfoot id='UOqOm'></tfoot>
        <i id='UOqOm'><tr id='UOqOm'><dt id='UOqOm'><q id='UOqOm'><span id='UOqOm'><b id='UOqOm'><form id='UOqOm'><ins id='UOqOm'></ins><ul id='UOqOm'></ul><sub id='UOqOm'></sub></form><legend id='UOqOm'></legend><bdo id='UOqOm'><pre id='UOqOm'><center id='UOqOm'></center></pre></bdo></b><th id='UOqOm'></th></span></q></dt></tr></i><div id='UOqOm'><tfoot id='UOqOm'></tfoot><dl id='UOqOm'><fieldset id='UOqOm'></fieldset></dl></div>

        <small id='UOqOm'></small><noframes id='UOqOm'>

      1. <legend id='UOqOm'><style id='UOqOm'><dir id='UOqOm'><q id='UOqOm'></q></dir></style></legend>
          <bdo id='UOqOm'></bdo><ul id='UOqOm'></ul>

        remote_addr 不返回 IPv4 地址

        时间:2024-04-12
      2. <i id='cnHik'><tr id='cnHik'><dt id='cnHik'><q id='cnHik'><span id='cnHik'><b id='cnHik'><form id='cnHik'><ins id='cnHik'></ins><ul id='cnHik'></ul><sub id='cnHik'></sub></form><legend id='cnHik'></legend><bdo id='cnHik'><pre id='cnHik'><center id='cnHik'></center></pre></bdo></b><th id='cnHik'></th></span></q></dt></tr></i><div id='cnHik'><tfoot id='cnHik'></tfoot><dl id='cnHik'><fieldset id='cnHik'></fieldset></dl></div>
        1. <small id='cnHik'></small><noframes id='cnHik'>

          <tfoot id='cnHik'></tfoot>

          1. <legend id='cnHik'><style id='cnHik'><dir id='cnHik'><q id='cnHik'></q></dir></style></legend>

              <bdo id='cnHik'></bdo><ul id='cnHik'></ul>

                <tbody id='cnHik'></tbody>
                  本文介绍了remote_addr 不返回 IPv4 地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在本地主机上使用 xampp,当我使用 $_SERVER["REMOTE_ADDR"] 它返回 ::1 (也在 phpinfo()).为什么这样做?我希望它返回一个正常的 IP 地址,如 127.0.0.1.我的操作系统是 windows vista.

                  I am using xampp on localhost and when I use $_SERVER["REMOTE_ADDR"] it returns ::1 (also does this in phpinfo()). Why does it do this? I want it to return a normal ip address like 127.0.0.1. My operating system is windows vista.

                  推荐答案

                  ::1 是一个 IPv6 地址 和 0:0:0:0:0:0:0:1 的缩写,即 环回地址到本地机器.所以 ::1127.0.0.1 相同,只是通过 IPv6 而不是 IPv4.

                  ::1 is an IPv6 address and an abbreviation for 0:0:0:0:0:0:0:1 that is the loopback address to the local machine. So ::1 is the same as 127.0.0.1 only via IPv6 instead of IPv4.

                  这篇关于remote_addr 不返回 IPv4 地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                    <tbody id='Kn1By'></tbody>
                    <tfoot id='Kn1By'></tfoot>
                    <i id='Kn1By'><tr id='Kn1By'><dt id='Kn1By'><q id='Kn1By'><span id='Kn1By'><b id='Kn1By'><form id='Kn1By'><ins id='Kn1By'></ins><ul id='Kn1By'></ul><sub id='Kn1By'></sub></form><legend id='Kn1By'></legend><bdo id='Kn1By'><pre id='Kn1By'><center id='Kn1By'></center></pre></bdo></b><th id='Kn1By'></th></span></q></dt></tr></i><div id='Kn1By'><tfoot id='Kn1By'></tfoot><dl id='Kn1By'><fieldset id='Kn1By'></fieldset></dl></div>
                      <bdo id='Kn1By'></bdo><ul id='Kn1By'></ul>
                      <legend id='Kn1By'><style id='Kn1By'><dir id='Kn1By'><q id='Kn1By'></q></dir></style></legend>

                      1. <small id='Kn1By'></small><noframes id='Kn1By'>