> Date: Tuesday, June 19, 2018 20:01:07 -0400 > From: Louis <stormy22@xxxxxxxxx> > > Apache 2.4 on Ubuntu 16.04LTS . We have multiple VirtualHosts > running on port 80, one on port 8080. They are all fully > functional... > > BUT for the one on port 8080 I have to explicitly append the port > number to the URL in a browser to access it (or the browser gets > the 000-default.) No diff between .conf files except Listen 80 | > 8080 and <VirtualHost *:80> | <VirtualHost *:8080> > > How to avoid appending the port number to the browser URL? (I'm > sure it's simple, but I just can't find it.) > You can't. Defined services/protocols are assigned certain ports -- http 80 (see the /etc/services file on your machine). When the client (browser in this case) sees the protocol name "http" it will attempt to connect to the assigned port. If you want to connect to an http service running on some port other than :80 you have to tell the *client* what port to connect to on the server. There's nothing that you can do on the server side to change this. [no, changing the port number assigned to http in the /etc/services file on your server will not change how the web browser tries to connect to your server.] --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx