• Resolved BigEfromDaBx

    (@bigefromdabx)


    Server IP shows as 127.0.0.1 on all my installations. Different hosting companies and all. How can I fix this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author apasionados

    (@apasionados)

    Hi there,

    The information should be displayed correctly. For Linux servers we retrieve it from:
    $_SERVER[ 'SERVER_ADDR' ]
    and for Windows server from:
    $_SERVER[ 'LOCAL_ADDR' ]

    We are running it on different server configurations and do have not noticed this problem.

    Can you give us some more information about the servers with which you have tried the plugin? Linux? Windows? And which versions.

    Best regards from Spain.

    Plugin Author apasionados

    (@apasionados)

    Hi there,

    We just checked and versiones previous to 1.3.3 on Windows Server displayed 127.0.0.1 as IP. That’s why we added special code to handle it.

    Can you verify if you’re running on the latest version of the plugin: 1.4.0?

    Maybe if you’re behind a proxy server you could also get this result, but we haven’t had this problem on any of our servers, even with proxy servers.

    Best regards from Spain.

    Thread Starter BigEfromDaBx

    (@bigefromdabx)

    Thanks for the quick response. I am using Version 1.4.0

    I ran it on hostagator VPS which I no longer use. Same problem.

    Right now I am running on a Digital Ocean Droplet Ubuntu 16.04.2 x64 and a Linode Ubuntu 16.04 LTS. I have my host file pointing to one and thats why i need to know the IP of the server that I am using.

    Plugin Author apasionados

    (@apasionados)

    Thanks for the info. We are running it on several WordPress installations on Digital Ocean Droplet Ubuntu 16.04.2 x64 and get the IP address displayed correctly.

    We will do some tests during next days to see if we can reproduce this error to know where it comes from.

    Thread Starter BigEfromDaBx

    (@bigefromdabx)

    Are you saying it is displaying correctly?

    Plugin Author apasionados

    (@apasionados)

    Yes. On our DO dropplets it displays correctly.

    Thread Starter BigEfromDaBx

    (@bigefromdabx)

    Really? Thats funny because on my linode it doesnt display correctly and I just installed a droplet on digital ocean with a fresh wordpress install just to make sure and it still doesnt work. See snapshot.

    https://www.dropbox.com/s/9v32s9jzrncyxj0/Screen%20Shot%202017-04-13%20at%2010.11.52%20AM.jpg?dl=0

    Plugin Author apasionados

    (@apasionados)

    Strange. We just setup a new dropplet on DO and we have the same problem as can be seen in your screenshot. On older dropplet it works. We will have a look at this next week, but it seems to be some proxy problem which we will not be able to bypass. We keep you updated.

    Thread Starter BigEfromDaBx

    (@bigefromdabx)

    Yea. Strange how it works for you. But it doesnt work for me on any of my servers or WP installations. SMH

    Plugin Author apasionados

    (@apasionados)

    Hi there,

    We just created a couple of more dropplets on DO and we can’t reproduce the error. Now everytime we get the correct IP information

    For example: Correct displayed IP.

    We will have a look in more detail next week.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Server IP shows as 127.0.0.1’ is closed to new replies.