I am new to moodle installation and configuration.
Recently I downloaded moodle and installed it on Cent OS 6
I am able to log on in Moodle from server machine.
My doubt here is what configurations need to be carried out so as Moodle can be accessed over network.
I made one change in config.php file
I updated value of $CFG->wwwroot as
$CFG->wwwroot = 'http://192.168.0.10/moodle';
where 192.168.0.10 is IP of Server machine where moodle is installed.
Still I am unable to acess moodle from other machine..
Help in this regard is appreciated..
Please make sure that other system is connected on network, You did it correctly but I think it is network issue due to that you are not able to access it on other system.
Related
I was working on my web-application for a long time now, and someone suggested that I shouldn't be using XAMPP for connecting with my database, as this will only work with the local computer. So I have uninstalled XAMPP from my computer and downloaded PHP 7.4.8 under C:\php directory!
Suddenly the IIS Manager won't listen on localhost. I thought this might be my project so I have created a new project under C:\inetpub\wwwroot\website2 which has three files:
iisstart.htm
iisstart.png
web.config
Even though the other project is disabled, and the new one enabled. the browser returns the following error (I have tried both port:80 and port:8080 just to make sure that this is not the issue!):
This site can’t be reached
localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
By this error I have few questions to ask!
How to ensure that IIS Manager works okay?
Even though I have deleted XAMPP the Apache Tomcat 8.0.27 is still installed on my computer. Should I delete that?
How to make the default app work again?
I am trying to setup directus in my website. Since my website is now at localhost I want to connect to API to get database info. I don't know where to point my endpoints in localhost.
My Ampps local server config is
Apache:7.1
sql:5.7.17
Till now I installed composer, then I tried to ping
doc example https://example.com/server/ping
I used https://localhost/server/ping
my directus is located in C:\Program Files (x86)\Ampps\www\trial\directus-master
what will be https://example.com
getting 404 error everytime.
Could you elaborate more, your question is vague with missing information.
Are you saying you have Directus setup on a server, and now you've loaded your website up locally, you want to access that remote instance?
If so, then you need to send your queries to the remote server.
Much like:
https://demo-api.directus.app/server/ping
https://demo-api.directus.app/_/items/sales/1,2,3
I am currently doing POST request from android to PHP WAMP server. I am facing one problem, that is ,it refused to connect with the server (error 403) by using my mobile phone. On the other hand, my android emulator able to connect and perform POST action to PHP server.
String urlAddress = "http://192.168.43.133/Test/php_script.php";
HttpURLConnection con=Connector.connect(urlAddress);
int responseCode=con.getResponseCode();
In mobile phone debugger mode, I got 403 for the responseCode. Anyone faced this kind of problem before?
By default WAMPServer comes configured as a single desktop secure environment, to protect beginners form getting hacked.
So to access it from another device you must tell Apache that that is allowed.
Edit the httpd-vhosts.conf file. This is where the locahost Virtual Host is defined. Use the WAMPServer menu system.
wampmanager-> Apache -> httpd-vhosts.conf
Look for this line inside the ` and tag
Require local
If you want to allow access from your WiFi network then change it to comething liek this
Require ip 192.168.43
Note I used only 3 of the 4 quartiles. This says allow any ip address in the 192.168.43 range to connect to this Apache Virtual host
Try and avoid using
Require all granted
That is a hammer to crack a nut approach and if you ever open up your router would allow anybody in the universe to access your site.
Once you have edited the file and saved it, dont forget to restart Apache
wampmanager->Apache-> Service Administration->Restart Apache
This is network issue so make sure you have the following checked:
You firewall
Both your pc and phone are in the same LAN
Check if you can access your server from another device on the network
I had this issue, WAMP by defdault only accept conections coming from the same computer, so trying to access it from another device even though on the same network won't work, for that you need to first disable any firewall installed on your computer then go to windows firewall and add WAMP as an exception, and then try, if it doesn't work, then google how to allow connection from external devices to WAMP
I just started up an Azure server and have been trying to access it for a while and am having a hard time doing so.
I installed zPanel on my 12.04 Azure Ubuntu server (like cPanel: Apache, MySQL, PHP, etc) and made sure Apache was working and pointed a domain to the server IP and gave it to zPanel's installer to config.
I tried accessing the server through direct IP, through the domain and even pinging it. I keep getting Request timed out.
I'm using the "Resource Manager" in Azure and can't find a way to specifically allow port 80, so I'm assuming it's enabled already, but that's the only reason I can think of for not being able to access the server. Any ideas?
Try to add the specifical port on the Azure old portal or new portal, please see the pictures below.
Fig 1. Add the endpoints(ports) on Azure old portal
Fig 2. Add the endpoints(ports) on Azure new portal
Hope it helps. Best Regards.
I have apache web server 2.4 set up on an Windows 7 - 64 bit in school with php 5.3 and mysql installed. This web server has a static ip address and I have allowed the Apache httpd.exe program on Windows 7 firewall.
When I tried to access the page in school (on the same LAN), I was able to access the page. But, when I tried to access it from home (with an external ip address) I wasn't able to access the web page hosted on the web server. When I tried to ping the static ip address of the web server in school it works but when I ping from outside school network, I get lost packets.
Further, I have Adobe Flash Media Server 4.5 installed on the same machine listening on ports 1935 and 1234.
I have also tried to uninstall and re-install apache but to no avail.
Any idea on how what is the problem here? Or any ways to test out the problem?
Is the problem because of Windows 7 tight firewall security? or 64-bit machine? or the adobe flash media server running on the same machine? or any misconfigurations out there in Apache?
Note: the static ip address is accessible and the server can serve a page when the server is running on windows xp previously. Recently, I just changed to windows 7 but the apache server can't seem to serve the same page.
Would really appreciate some help here!!! Thanks
Your server machine may have a firewall which allows connections, but the machine may stand behind the router which does not forward ports correctly. Have you checked this?
The LAN is being protected by the router to the external network. You need to get the administrator to configure this router.