Page 1 of 1
Allowing another IP to access my server
Posted: Mon Apr 12, 2004 11:37 pm
by Steveo31
I'm makin a small site, and a friend of mine is going to help me. However, when I send him my IP, he gets a forbidden error. I think it is something in my access.conf file (phpDev, Apache 1.3.27, MySQL4). I'd like him to have access mostly to the PhpMyAdmin, but the others would be a plus.
What do I need to do?
Posted: Tue Apr 13, 2004 6:46 am
by JAM
http://httpd.apache.org/docs/mod/core.html#listen
Will perhaps get you more info regarding Apache.
In phpMyAdmin, you need to edit the $cfg['Servers'][$i]['host'] parts of the config.inc.php to reflect your public IP/host. Most commonly doing local development we use localhost or 192.168.0.2/127.0.0.1 or so...
After adding the public ip, you need to rearrange the usertable so that the user(s) you have today fits your new configuration: Steveo31@192.168.0.2 would look like
Steveo31@your-public-host.com and
User2@your-friends-host.com.
More about that:
http://dev.mysql.com/doc/mysql/en/Adding_users.html
Might not help, but I gave you some directions to investigate...
Posted: Tue Apr 13, 2004 7:39 am
by magicrobotmonkey
What type of connection do you have? Certain ISP's block 80. I know when I hosted from Verizon DSL, I had to do all this port changing nonsense and dynamic ip updating to get the thing visible to the outside world.
Posted: Tue Apr 13, 2004 5:10 pm
by Steveo31
The worst for this... dial up. It's not much of a problem for me and what I am doing because I just send him the IP and he can connect.
I'll look into all that. Thanks.