PDA

View Full Version : accessing dp on lamp server


boardtc
11-04-05, 05:17 AM
I am hoping you can help a linux rookie. I have a standard mdk 9.2 install on myserver. I installed dp 2 and can see it fine one the server, the problem is seeing it from the other 2 (windows xp) machines on the network. I can see http://myserver/test.php
fine, but
http://myserver/dotproject
says unable to connect to 127.0.0.1

I did a :
ls -l dotproject
and it gave :
-rw-r--r-- 1 christine users 251089 Apr 1 02:49

I am logged on as Tom. I must have installed it when I was logged on Christine's account. Would this be a problem? I tried chown tom dotproject but that did not change the owner when I do ls -lo dotproject.

A ping localhost gives comes back after 72 received but a ping 127.0.0.1 never stops.

Any ideas are much appreciated.

ajdonnison
11-04-05, 09:01 AM
Don't use 127.0.0.1 it is an internal loopback address. Instead try connecting to the real IP address e.g. http://10.100.2.1/dotproject (if 10.100.2.1 was the IP address). It may simply be that the name server handling is incorrect and returning invalid address information.

boardtc
11-04-05, 09:51 AM
I was excited to read your post!

But
http://192.168.123.167/dotproject
gives the same message ...the connection was refused when attempting to connect to 127.0.0.1

:-(

I can do a ping 192.168.123.167 fine.

What you think?

ajdonnison
11-04-05, 01:54 PM
At what point does this error come up? There are no hardcoded links to resources anymore, apart from the database server, and that is relative to the web server anyway. This could occur in 1.0.2 if you had your config.php with the default URL (base_url), but this is no longer used in 2.x.

boardtc
12-04-05, 02:48 AM
>At what point does this error come up?

As soon as one tries to access http://192.168.123.167/dotproject you get the alert :

"The connection was refused when attempting to connect to 127.0.0.1."

>This could occur in 1.0.2 if you had your config.php with the >default URL (base_url), but this is no longer used in 2.x.

ok. This was a completely clean new install of 2, anything I can test this end?

a madrake forum have suggested that it seems that dotproject is trying to connect to the mysql database (on its localhost interface) and isn't allowed due to mysql rights....

Thanks for ongoing help.