Change Port in CentOS Minimal Install

Need help? Post your questions here.
tycoonbob
Posts: 10
Joined: 21 May 2013, 02:27
Has thanked: 1 time
Been thanked: 7 times

Change Port in CentOS Minimal Install

Unread post by tycoonbob »

Hello everyone. I've been using SubSonic and MadSonic for a few years now, and have always ran it on Windows. I am going through the process of rebuilding some of my VMs and I am on my Media VM now, which runs MadSonic and Plex Media Server. Instead of running a bloated Server 2012 VM, I have switched to a CentOS 6.4 x64 minimal install (no GUI). Plex and Madsonic are both installed and working, but I am having trouble changing the port for MadSonic.

The default port (4040) works just fine, but I want to change it to something else. So I stop the service, change the port in Madsonic.Properties, and start the service. Service starts, but MadSonic is still running on port 4040 and the properties file reverts. I am running the latest build (3660), and other than this issue, everything else seems to be working. So is there something more I am supposed to do to get the port to bind to something else with CentOS?

Thanks!
These users thanked the author tycoonbob for the post:
Madsonic
Rating: 7.69%
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Change Port in CentOS Minimal Install

Unread post by Madsonic »

hi there,

stop your service and check this 2 files for your port setting,
then restart service and recheck.

Code: Select all

/usr/share/madsonic/madsonic.sh

/etc/sysconfig/madsonic
best regards
tycoonbob
Posts: 10
Joined: 21 May 2013, 02:27
Has thanked: 1 time
Been thanked: 7 times

Re: Change Port in CentOS Minimal Install

Unread post by tycoonbob »

Setting the port in Madsonic.Properties and Madsonic.sh did the trick.

Thanks!
These users thanked the author tycoonbob for the post:
Madsonic
Rating: 7.69%
Post Reply