Browser can't find localhost while Apache and MySQL are up and running - apache

I have reinstalled my Xampp Application, Apache is running on port 443 and 8080, MySQL is running on 3306.
If I go to Localhost, it still gives me a 404 Error while it should give me a message like "You have succesfully installed Xampp!"
What can be the problem?

If you omit the port, http uses port 80 by default and port 443 for https.
So try to call
http://localhost:8080
or
https://localhost
If this does not help you should check the accesslog of your webserver.

Related

127.0.0.1 can't be reached with apache running

I set apache server to run on 8080 and 4433 ports (I changed all the references on 80 port in configuration files as well as all references on 443 port so apache can start). And in XAMPP application it says that apache server is normally running. MySQL server is running as well. There is a solid connection with internet so connection isn't a problem. But when I tried to access 127.0.0.1 this message appeared on display:
This site can’t be reached
127.0.0.1 refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
How to solve this issue?
Apache won't re-read it's config file automatically after you change it so make sure you've restarted the service.
Also enter the url as http://127.0.0.1:8080 so the browser knows to connect on port 8080 rather than 80.

Cant' Access port 8080 from browser even if its open at 0.0.0.0

netstat -plnt shows that my port 8080 is listening at 0.0.0.0 but I can't access it with external IP where as localhost:8080 works just fine
If it shows this shouldn't I be able to access this using the servers IP using http://167.99.144.42:8080/ or do I need to forward the port for some reason.
I am using Apache2 on Ubuntu and Nodejs.
167.99.144.42 on port 8080 and 22 is working fine from the public Internet
There is probably a problem with access from your browser such as a local proxy

Problems with Apache Tomcat and Wamp

this is probably a noob problem but I can't get this to work. The Apache on wamp is currently on Listen 8080 because the regular localhost wouldn't work. However when I turn on Tomcat it is also on 8080 which is conflicting with wamp. I am connecting to Tomcat via Eclipse plugin. With Tomcat on I can't get into phpmyadmin on wamp.
Apache's httpd.conf in wamp is set to:
Listen 8080
ServerName localhost:80
Only with this setting I can get wamp to work.
localhost:8080 will work and 127.0.0.1:8080 works as well. Turning on Tomcat will automatically override wamp's settings. How can I get wamp to just be a regular localhost address and not have it take an 8080 port where Tomcat is sitting on?
try to change the port tomcat is using.
Go to conf folder in tomcat installation directory
e.g. C:\Tomcat 6.0\conf\
Edit following tag in server.xml file
Change the port=8080 value to port=80
Save file.
or another solution is , you can change your wamp port from 8080 to any other one...

Apache is running but i cannot connect to local host

I have installed xampp on windows 8 and apache could not start and connect on port 80.
I changed the port to 1337 on the httpd.conf. Apache now starts on xampp and shows that it is running on port 1137 and 443 but when i type localhost on Google chrome i getan error message stating Google chrome could not connect to localhost.
can somebody help me please.
since you changed the port from standardport 80 you have to type localhost:1137
When you type
http://localhost
on your browser, it connects to port 80 by default. and
https://localhost
will connect to port 443 by default. Since you've changed the port numbers, you have to use
localhost:1137
or
https://localhost
in your browser.

Disable ssl in apache on port 443

I am running a NodeJS app on apache and using mod_proxy to forward requests on 443 to the nodeJS app.
This works fine on port 80, but when I try to set it up for port 443, I get the following error in apache:
[error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)
It appears that this error is caused because I am trying to listen on port 443 in apache but not providing an ssl certificate... but I dont need to as my NodeJS app is performing the SSL.
How can I tell apache to ignore this error?
What you are trying cannot work. A client connecting to port 443 will speak HTTPS/SSL - so the application that handles the connection needs to use SSL for connections on that port.