I installed XAMPP and started the Apache Server and MySQL. However, if I try to access https://localhost/, it just shows a blank page in Firefox. I am on a Windows 10 machine. I already tried to change the localhost port from 80 to 8080, but it says that it cannot open the page this way.
Any ideas what the reason could be?
Related
I have a clean instalation of centos 8 server with the LAMP services installed.However I can only access the apache test page on the machine and not from the network.When trying to open the page the browser shows error in connetion.I have an old server running Centos 6 which everything is running fine. even switching the IPs of the servers the new server still cannot open the page.
What i have done so far
Configure httpd.conf to listen on port 80 on the ip address of the server.
Temporarily disabled server firewall.
When i check the apache logs i can only see the logs from when i access on the machine, nothing is generated when i try to access on the browser.
Copied the http.conf file from the old server to the new server to no avail
Can someone point me in the right direction.
I am new to cloud jargon. I initiated a GCE instance sometime back and installed bitnami djangostack. It all worked fine.
One fine day due to some issue instance restarted and changed my server IP.On typing new IP in browser Apache2 Debian page was back.This previously showed Bitnami default page.
I restarted each service using /opt/bitnami/ctl script but apache was not running.
Searched and changed default port to 8080 and from 443 to 8443 in httpd.conf file.
Apache started. But still when I type on browser new server IP - I get connection refused error.Also cannot load any apps using http://serverip/Project/ which previously used to work.
Apache Error log says
localhost:8443:0 server certificate does NOT include an ID which matched server name.
Searched and changed below in /apache2/conf/extra/httpd-ssl.conf
ServerName to localhost from www.example.com
But nothing is working and I still get same error.
Can anyone help.
I installed XAMPP 1.7.7 for testing on the old php version. Current XAMPP is running fine. I changed the ports in httpd.conf from 80 to 8081, and in httpd-ssl.conf from 443 to 4434.
Still, when trying to start apache, I get the error
"error: apache was stopped unexpected. This might be caused by a blocked port, missing dependencies,..."
I also changed these ports again (they were not used in both cases).
I run XAMPP as an administrator and I disabled my firewall without any results... What are other possible options? (Error-)Logs are empty.
maybe the following information might help:
I am using windows 10, xampp 1.7.7 portable, and although I changed the ports, when I run XAMPP, it tells me the following:
Problem detected!
Port 80 in use by "Unable to open process" (PID 4)!
Apache will NOT start without the configured ports free!
Try to do this:
Run -> CMD, type services.msc and stop the program:
Web Deployment Agent Service
Afterwards try restarting XAMPP and say if it works or not!
I fixed it via reinstalling into another directory.
I run xampp (apache) on Ubuntu 12.04. I've got localhost declared as ServerName localhost in httpd.conf. So far, I've not experienced problems with this but now, the browser Firefox is unable to connect to localhost. What could the problem be? Thanks.
OK. Found the answer and responding to myself in case it could be of interest to others; Actually, Apache server was not running. When I started xampp, it said Apache is already running but in fact wasn't due to the fact that the file logs/http.pid was corrupt. I deleted this file and then restarted xampp. This time it did launch the apache server and everything is fine.
I have a windows server 2008 VPS with no software installed on it and the only way to connect to it is remote desktop connection so I have to prepare it from scratch.
I installed apache server on it BUT after installing apache:
ON THE VPS:
when i go to localhost i get the "it works!" Home page so this sounds ok.
and "Netstat -a" results shows port 80 ok as following:
From other pc
- can't go to homepage via browser.
NOTE: I don't have a domain but i wish to access via browser using the VPS ip.
nevermind guys it worked now.
I just added port 80 to firewall. I thought that if the port stats is Listening then it is ok but I found out that I have to add the port to the firewall too.