I am running xampp on an external facing server (i know people recommend against this, we've configured it pretty tightly [I think!]). We are using control panel v3.1.0 and it has a column called Port(s). The apache ports shown keep changing, and cycling through the udp ports, as well as listing the standard apache ports:
Port(s)
80, 443
80, 443, 1245
80, 443
80, 443, 1246
80, 443, 1247
What does this mean? Are we getting scanned (I don't control our firewall but they say the ports are locked down to 80 and 443)?
httpd.conf
#Listen 0.0.0.0:80
#Listen [::]:80
Listen 80
httpd-ssl.conf
#Listen 0.0.0.0:443
#Listen [::]:443
Listen 443
It might also be worth noting that this machine is running moodle 2.2
These are the ports that MySQL discuss with Apache.
3306 <-> 1245 etc.
Nothing to worry about.
Related
why xampp does not listen to port 443, even though in the config the SSL port is filled 443. can somebody help me? thank you
I changed Apache port from 80 to 81 because 80 is used by skype.
(I did this
Locate the following lines :
#Listen 12.34.56.78:80
Listen 80
ServerName localhost:80
Replace them by :
#Listen 12.34.56.78:81
Listen 81
ServerName localhost:81)
Long story short, if I do http://localhost:81/dashboard/ it works but I want to only use http://localhost/dashboard/.
I did Xampp -> Config -> Service and Port Settings -> Main port changed from 80 to 81 and SSL port still 443
I'd like to know where's the mistake and how can I repair it.
If you want to open http://localhost/dashboard/ your apache should work on port 80, this is default http port.
So you have to open skype and go to Tools->Options->Advanced->Connection and uncheck "Use port 80 and 443 for additional incoming connections"
The HTTP protocol is set to port 80 by the IANA standards. If you want to use connect to an HTTP server on another port, you must add the port to the URI, as in http://localhost:81/
Now, you can edit /etc/services on a linux box and change 'http' to 81, but this is not recommended, as any other HTTP connections from that host to all servers will all try to connect to port 81, which will break all HTTP clients. (Seriously, this will probably break all kinds of things you don't expect. Just use the port in the URI.)
You can change skype's default port as follow...
Go to Tools -> Options -> Advanced -> Connection and uncheck the box "use port 80 and 443 as alternatives for incoming connections"
Anyway your apache must work on port 80 in order to access http://localhost/dashboard without mentioning a port.
So here is the deal. I'm trying to setup Virtual host with my WAMP.
The instructions I found online tell me to set Listen :80 to Listen *:80 .
But when I check my httpd.conf file I only see
Listen 0.0.0.0:80
Listen [::0]:80
I have no idea what 0.0.0.0 and [::0] mean.
So my question is do they mean the same as * ? Or should i change
Listen 0.0.0.0:80
Listen [::0]:80
to
Listen 0.0.0.0*:80
Listen [::0]*:80
or add below those Listen *:80?
Or do I not need to add it at all..?
Thanks in advance!
update: I guess 0.0.0.0:80 is ipv4 and [::0]:80 is ipv6
But I still have no idea if I need to add Listen *:80 and/or Listen [*]:80 or something similar...
any ideas or advice would be greatly appreciated.
Thanks again!
I dont know what you found online, but here is the official instructions.
If you are using WAMPServer pre V3 :
WAMPServer Forum: THE NEED for VIRTUAL HOSTS
If you are using WAMPServer V3, the process has been made simpler and there is now a web page to do almost all of it for you
WAMPServer Forum: WAMPServer 3 All you need to know
The *:80 is used on the Virtual Host definition and not on the Listen directives in httpd.conf
The * means listen on any ip address, and is simpler than specifying your actual IP Address. As most Windows PC's have only one IP address i.e. only one network card there is no need t be specific with the ip address.
Go to httpd.conf and do the next
#Listen 12.34.56.78:80
Listen 127.0.0.1:8080
#Listen 0.0.0.0:80
#Listen [::0]:80
and where you find
ServerName localhost:80
write
ServerName localhost:8080
That way I resolved my problem with apache service.
I have a SSL server started on port 8080.
I want to redirect all browser requests to this port
from 80 (http://...) and from 443 (https://...)
Should I do
1) 80 forward to 8080; 443 forward to 8080 or
2) 80 forward to 443; 443 forward to 8080
Is there any difference in these approaches and what is correct?
Thanks!
I am trying to install and configure Varnish 3 on Centos 6.6
The problem is Nginx is running as reverse proxy on ports 80 and 8080.
Apache is running on port 7080
I did all the changes in conf files of nginx however it is still listening on ports 80 and 8080 that's why varnish is not working.
How can I change the nginx port from 80 to 8080?
netstat -tulpn gives the following: (the x are the ip address of the server)
tcp 0 0 xx.xxx.xx.xx:80 0.0.0.0:* LISTEN 17048/nginx
tcp 0 0 xx.xxx.xx.xx:8080 0.0.0.0:* LISTEN 17048/nginx
Edit the file /etc/nginx/sites-enabled/default or wherever your listen directive is:
https://stackoverflow.com/a/12800469
Then restart server!