rembo10 / headphones

Automatic music downloader for SABnzbd
GNU General Public License v3.0
3.39k stars 600 forks source link

Port 8181 is already used - how to switch? #3149

Open theDwiz01 opened 6 years ago

theDwiz01 commented 6 years ago

Sick of Lidarr and want to try Headphones. Unfortunately I already have a program that uses port 8181 (Tautulli). How do I tell headphones to use a different port?!

HorsePasta commented 6 years ago

Find config.ini wherever you cloned the repo (/opt/headphones/config.ini by default on linux )and look for http_port = 8181 in that file. Change that to the port you want > save > restart / start

Fritsbenik commented 6 years ago

You can also add -p "portnumber" to the startup arguments

MikeTannenbaum commented 6 years ago

Where is the config.ini file? I cannot find it at all...

Fritsbenik commented 6 years ago

Depends on the OS you run it on.

On freeBSD the default is /usr/local/headphones/ On Ubuntu the default location is /opt/headphones/ Mostly the default location is inside the directory of the application

MikeTannenbaum commented 5 years ago

I'm running ubuntu 16.04 and cannot find the config.ini file. Even in the repo on GitHub, it doesn't show the config file. Does it have to be generated in some way first?

Fritsbenik commented 5 years ago

The config.ini is created in the datadir at first startup if not specified. If you start it manually it will be created in the same directory.

cd /path/to/dir/headphones and python2.7 ./Headphones.py If you are using above method you can also use python2.7 ./Headphones.py -p <Portnumber>