- Posts: 4
Joomla cannot connect to Moodle
- hami
- Topic Author
- Offline
- New Member
-
Less
More
13 years 8 months ago - 13 years 8 months ago #1
by hami
Joomla cannot connect to Moodle was created by hami
Hi
The Jommdle System Check always displays:
1. Joomla cannot connect to Moodle
2. Moodle cannot connect to Joomla
Can somebody help?
Software used:
Moodle 2.2.4
joomla 2.5.6
joomdle 0.82
The Jommdle System Check always displays:
1. Joomla cannot connect to Moodle
2. Moodle cannot connect to Joomla
Can somebody help?
Software used:
Moodle 2.2.4
joomla 2.5.6
joomdle 0.82
Last edit: 13 years 8 months ago by hami.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
13 years 8 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic Joomla cannot connect to Moodle
This is usually caused by networking problems:
- Firewall or other security items
- DNS issues
...
- Firewall or other security items
- DNS issues
...
Please Log in or Create an account to join the conversation.
- pinguim
- Offline
- New Member
-
Less
More
- Posts: 10
13 years 6 months ago - 13 years 6 months ago #3
by pinguim
Replied by pinguim on topic Joomla cannot connect to Moodle
Hi Antonio,
I think this is other issue, because I am using joomla and moodle on the same server to test before my production.
On the url in joomla and moodle I am writting http://myserverip/moodle and http://myserverip/joomla.
My server firewall is open and I still get the error.
Do you have any other sugestions?
On the DNS I am using a regular DNS of my house.. my server is connected and resolving names..
Do I have to insert on some place my dns IP on joomdle interface?
Gracias.
I think this is other issue, because I am using joomla and moodle on the same server to test before my production.
On the url in joomla and moodle I am writting http://myserverip/moodle and http://myserverip/joomla.
My server firewall is open and I still get the error.
Do you have any other sugestions?
On the DNS I am using a regular DNS of my house.. my server is connected and resolving names..
Do I have to insert on some place my dns IP on joomdle interface?
Gracias.
Last edit: 13 years 6 months ago by pinguim.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
13 years 6 months ago #4
by Chris
Replied by Chris on topic Joomla cannot connect to Moodle
What OS are you running your server on? Windows 7?
Please Log in or Create an account to join the conversation.
- pinguim
- Offline
- New Member
-
Less
More
- Posts: 10
13 years 6 months ago - 13 years 6 months ago #5
by pinguim
Replied by pinguim on topic Joomla cannot connect to Moodle
Hi Chris,
I am using both debian...
apache2 and bind9
I am using both debian...
apache2 and bind9
Last edit: 13 years 6 months ago by pinguim.
Please Log in or Create an account to join the conversation.
- Matt Stewart
- Offline
- New Member
-
Less
More
- Posts: 8
13 years 6 months ago - 13 years 6 months ago #6
by Matt Stewart
Replied by Matt Stewart on topic Joomla cannot connect to Moodle
was there any solution to this? i have installed it all 3 separate times now and still get the errors:
Joomla cannot connect to Moodle
Moodle cannot connect to Joomla
Received Empty response from Moodle
i keep going through everything, and can't see that i've missed any stages out.
Apache server, Joomla 2.5.7, Moodle 2.3.2 (Build: 20120910), Joomdle 0.82
if it's any help, with debug on i get the following warnings:
Warning: file_get_contents( www.mysitename.com/moodle/auth/joomdle/connection_test.php ): failed to open stream: Connection refused in /home/sites/mysitename.com/public_html/joomla/administrator/components/com_joomdle/helpers/content.php on line 243 Warning: file_get_contents( www.mysitename.com/moodle/auth/joomdle/c...tion_test_joomla.php ): failed to open stream: Connection refused in /home/sites/mysitename.com/public_html/joomla/administrator/components/com_joomdle/helpers/content.php on line 243
Joomla cannot connect to Moodle
Moodle cannot connect to Joomla
Received Empty response from Moodle
i keep going through everything, and can't see that i've missed any stages out.
Apache server, Joomla 2.5.7, Moodle 2.3.2 (Build: 20120910), Joomdle 0.82
if it's any help, with debug on i get the following warnings:
Warning: file_get_contents( www.mysitename.com/moodle/auth/joomdle/connection_test.php ): failed to open stream: Connection refused in /home/sites/mysitename.com/public_html/joomla/administrator/components/com_joomdle/helpers/content.php on line 243 Warning: file_get_contents( www.mysitename.com/moodle/auth/joomdle/c...tion_test_joomla.php ): failed to open stream: Connection refused in /home/sites/mysitename.com/public_html/joomla/administrator/components/com_joomdle/helpers/content.php on line 243
Last edit: 13 years 6 months ago by Matt Stewart.
Please Log in or Create an account to join the conversation.
- Fernando Acedo
- Offline
- Elite Member
-
13 years 6 months ago #7
by Fernando Acedo
Replied by Fernando Acedo on topic Joomla cannot connect to Moodle
Did you setup both sites with file_get_content ?
Try to use cUrl insted file_get_content.
Try to use cUrl insted file_get_content.
Please Log in or Create an account to join the conversation.
- Matt Stewart
- Offline
- New Member
-
Less
More
- Posts: 8
13 years 6 months ago #8
by Matt Stewart
Replied by Matt Stewart on topic Joomla cannot connect to Moodle
yes, tried that too, same issue. both file_get_content, and cURL seem to be ok, but the last 3 checks as above always give the errors.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
13 years 6 months ago #9
by Antonio Durán
Replied by Antonio Durán on topic Joomla cannot connect to Moodle
The logs gives the answer:
Warning: file_get_contents( www.mysitename.com/moodle/auth/joomdle/connection_test.php ): failed to open stream: Connection refused
It seems your server is refusing connections to that file.
Try to open that in the browser. If it works, there must be something (like firewall) that forbids connections from server to itself.
Warning: file_get_contents( www.mysitename.com/moodle/auth/joomdle/connection_test.php ): failed to open stream: Connection refused
It seems your server is refusing connections to that file.
Try to open that in the browser. If it works, there must be something (like firewall) that forbids connections from server to itself.
Please Log in or Create an account to join the conversation.
- Matt Stewart
- Offline
- New Member
-
Less
More
- Posts: 8
13 years 6 months ago #10
by Matt Stewart
Replied by Matt Stewart on topic Joomla cannot connect to Moodle
it give the message "OK", so i guess that means it works.
i am installing this on a shared server, so i presume i need to write a support ticket to see if there's some kind of firewall setting yes?
i am installing this on a shared server, so i presume i need to write a support ticket to see if there's some kind of firewall setting yes?
Please Log in or Create an account to join the conversation.