Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7069

Ubuntu 24.04.1 LTS - new port not working [closed]

$
0
0

I run a Ubuntu 24.04.1 LTS on an IP without domain behind a proxy. To make a new app ("editor") reachable on the port 8181 (wished by client), I did these steps, but the connection failed:

  1. app saved in /var/www/editor (index.html)
  2. set the permissions with CHOWN -R and CHMOD -R
  3. set the new virtual host via /etc/apache2/sites-available/editor.conf
NameVirtualHost *:8181<VirtualHost *:8181> ServerAlias [M.Y.I.P] (without port) ServerAdmin webmaster@localhost DocumentRoot /var/www/editor ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined<IfModule mod_proxy.c>      ProxyRequests Off  ProxyPass        /  http://[PROXY-IP]:3128/  ProxyPassReverse /  http://[PROXY-IP]:3128/</IfModule></VirtualHost>
  1. enabled virtual host with A2ENSITE editor.conf
  2. checked config via APACHE2CTL CONFIGTEST
  3. opened and checked the port on UFW firewall
  4. restarted rthe server via SYSTEMCTL RESTART APACHE2
  5. opened the URL http://M.Y.I.P:8181

result: Error: Connection failedFirefox cannot connect to the server at M.Y.I.P:8181.

Could anybody help me to make the site running on the port? I don't have any idea more to checking.

Thank you,regards Matthias


Viewing all articles
Browse latest Browse all 7069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>