Hi amir,
No sorry, I wasn't giving you a solution. Just trying to point you to a possible cause of the problem and how to do the diagnosis. It is not possible at all to say what a problem is with just few information as the one you provided in your original post (only the error message).
This is what you can do to see if you have communication between servers:
>You can test by logging into your Moodle server, if you can, at the ssh prompt and enter the command
>
>
>
><response><returncode>SUCCESS</returncode><version>0.81</version></response>
>
>in response. If not, it means that your Moodle server is not able to make an HTTP connection to your BigBlueButton server,
>which would also cause the BigBlueButtonBN plugin to not work.
If you only want the services to be used internally so you can use the private IPs, but if you want them to be used externally you better use the public IPs. If moodle is going to be private and bigbluebutton public so you need to configure the public address in bbb and to add the entry in a DNS for the moodle server and internal users.
As you see there are too many possible combinations.
Bottom line, your moodle server must have communication with your bigbluebutton server. How you configure them depends of your goals.
Also remember, the more information you provide when describing your problem the more accurate response you can get.
I would say provide more technical details about what you want accomplish and what is your configuration so far.
Regards,
Jesus Federico