Strange thing with IP
Strange thing with IP
Hello,
I installed VestaCP on my DigitalOcean Server. I did not have any problem with vestacp. I just run following php code:
as per my knowledge it must have to show my ip address, but it shows ip adress of server.
so problem is with my phpbb forum, every user loged in using server ip.
Is it something wrong with vestacp.
I installed VestaCP on my DigitalOcean Server. I did not have any problem with vestacp. I just run following php code:
Code: Select all
<?php //Gets the IP address
$ip = getenv("REMOTE_ADDR") ;
Echo "Your IP is " . $ip;
?>
so problem is with my phpbb forum, every user loged in using server ip.
Is it something wrong with vestacp.
Re: Strange thing with IP
Nothing is wrong with vesta please see viewtopic.php?f=10&t=6488dany2fast wrote:Hello,
I installed VestaCP on my DigitalOcean Server. I did not have any problem with vestacp. I just run following php code:as per my knowledge it must have to show my ip address, but it shows ip adress of server.Code: Select all
<?php //Gets the IP address $ip = getenv("REMOTE_ADDR") ; Echo "Your IP is " . $ip; ?>
so problem is with my phpbb forum, every user loged in using server ip.
Is it something wrong with vestacp.