Old 18th October 2017, 15:48   #1
SaffNet
Junior Member
 
Join Date: Oct 2017
Posts: 2
Can I change the API Port on sc_trans2?

So, as the title suggests, I need to change the port for the API, but I can't for the life of me find any config options to do so, and google gives me nothing...

The reason I need this is because I would like to run multiple instances under one IP, but obviously only the first instance will bind to the api port 4444.

Any help would be much appreciated.

TIA
SaffNet is offline   Reply With Quote
Old 18th October 2017, 16:40   #2
neralex
Major Dude
 
Join Date: Mar 2011
Posts: 576
The weblet-commands are using the admin-port of sc_trans.

Quote:
The following are the supported commands for the administration weblet the transcoder supports and are used in the following manner:

http://<server_ip>:adminport/<command>

api : This is the point from where you can make use of the AJAX api which sc_trans offers and is used as a POST method.
So do you have to add something like this in the conf-file:

adminport=8170
adminuser=admin
adminpassword=hackme

After that you can run sc_trans-daemons with different config-files on the same IP:

./sc_trans daemon ./sc_trans1.conf
./sc_trans daemon ./sc_trans2.conf
./sc_trans daemon ./sc_trans3.conf

Last edited by neralex; 18th October 2017 at 17:40.
neralex is offline   Reply With Quote
Old 18th October 2017, 16:49   #3
SaffNet
Junior Member
 
Join Date: Oct 2017
Posts: 2
argh, i cant believe how stupid I am lol... Thanks a lot man, seems I've got a lot to remember, I've not used SHOUTcast in yeaaaars.
SaffNet is offline   Reply With Quote
Old 18th October 2017, 17:41   #4
neralex
Major Dude
 
Join Date: Mar 2011
Posts: 576
http://wiki.shoutcast.com/wiki/SHOUT...S_Transcoder_2

http://wiki.shoutcast.com/wiki/SHOUT..._Specification
neralex is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump