Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Strange thing with IP

General questions about VestaCP
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
dany2fast
Posts: 3
Joined: Thu Dec 11, 2014 2:05 pm

Strange thing with IP
  • Quote

Post by dany2fast » Wed Dec 31, 2014 3:08 pm

Hello,
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;
?>
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.
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: Strange thing with IP
  • Quote

Post by joem » Wed Dec 31, 2014 7:37 pm

dany2fast wrote:Hello,
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;
?>
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.
Nothing is wrong with vesta please see viewtopic.php?f=10&t=6488
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password