Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed PHPpgAdmin in ubuntu.

If i use http://localhost/phppgadmin then it works if i am at the server

But if i use from LAN

Http://ip -- works
Http://ip/phppgadmin-- don't work

It says permission denied

share|improve this question

Check the configuration of the site, due to the nature of the script, I would be 99% sure it comes shipped with some sort of IP based restrictions.

share|improve this answer

Nate gives usefull advice, but I don't think that'll help you. As the local IP's usually range inside 192.168.*.*, which is already inside the range

My advice to you, is to temporarily change the line

deny from all


allow from all

Inside /ect/phppgadmin/apache.conf And see if it changes anything (please not that I am not sure of this path. I am a Windows user myself.). It would be wise to edit your question with the results of this, so you can be helped further.

Also, have you tried to reach it from a different computer/device in your network, or just one?

share|improve this answer

For Ubuntu, edit the file /etc/phppgadmin/apache.conf. You will see lines that look like this:

deny from all
allow from ::1/128

Add an additional line that allows access from your subnet. Then make Apache re-load its configuration.

Simply add an entry for your subnet (here: all machines with IPs in 192.168.0.XXX) in the given allow from line

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.