Change APACHE / TEAMVIEWER port

0

I'm using Ubuntu for PHP development, so I have Apache / php / MySql installed. Now I am installing TeamViewer for client support, but it can not connect. I stopped the Apache service and tried again and Teamviewer worked perfectly, meaning I think it's a conflict of ports.

I could not figure out how to change the default ports so I can use apache and teamviewer simultaneously.

Would anyone know how to change the default Apache or Teamviewer port to resolve this conflict? Thank you.

    
asked by anonymous 21.02.2017 / 20:04

1 answer

2

In the /etc/apache2/ports.conf file, change the port:

Listen 8079

Then in the file /etc/apache2/sites-enabled/000-default.conf change the first line:

<VirtualHost *: 8079>

Restart apache:

sudo service apache2 restart
    
21.02.2017 / 20:47