Customize ports (1 Viewer)

Nicoolai

MP Donator
  • Premium Supporter
  • February 9, 2011
    84
    3
    44
    Denmark
    Home Country
    Denmark Denmark
    Hi,
    Is it possible, to customize what ports it uses, without editing the source?
    I have checked Gentle.config, and I can of course set the DB port, in the connection string, but what about streaming and remotecontrol ports?
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,515
    8,256
    Home Country
    New Zealand New Zealand
    For TV Server?
    You can certainly set the streaming port in TV Server configuration in the "streaming server" section. Just change the value from 554 to whatever you like, then restart the TV Service.
    I'm not sure if it is possible to change the TV Service remoting port without recompiling the code. You can try to change the port in SetupTv.exe.config and TvService.exe.config which are in the TV Server install folder:
    <system.runtime.remoting>
    <application>
    <channels>
    <channel ref="tcp server"
    port="31456"
    name="TvControl">
    <serverProviders>
    <formatter ref="binary" typeFilterLevel="Full" />
    </serverProviders>
    </channel>
    </channels>
    </application>
    </system.runtime.remoting>
    However I do not guarantee that it would have any effect.
    May I ask: why do you want to change these ports?

    mm
     

    Nicoolai

    MP Donator
  • Premium Supporter
  • February 9, 2011
    84
    3
    44
    Denmark
    Home Country
    Denmark Denmark
    I mean for MPTvClient, not the server.
    I am asking, because I need to work around some firewall restrictions.
     

    redgee34

    New Member
    March 9, 2015
    1
    0
    38
    Home Country
    Pakistan Pakistan
    What happens is when I change a channel the screen blanks like it is going to change channels, then the original channel comes in for a split second, then the screen flashes blue, and then the desired channel finally tunes in and is fine (minus some fuzziness but that is just my cable signal, maybe try post processing one I get rid of the blue screen).
     

    Users who are viewing this thread

    Similar threads

    When I rebooted this morning, the same problem came back. But I did find my error, it turned out I had accidently clicked on "Filtering: On startup filter by: Unwatched Movies" in "Moving Pictures Configuration". Don't know how I did that. (n)
    When I rebooted this morning, the same problem came back. But I did find my error, it turned out I had accidently clicked on...
    About a 2 months ago I was having problems with filtering for unwatched movies. I couldn't find the filter for it. So I tried...
    Replies
    3
    Views
    395
    Thanks for the update on this. I should have searched before posting, always assume it is something I have done wrong.
    Thanks for the update on this. I should have searched before posting, always assume it is something I have done wrong.
    Hi All, I have a strange one. I recently added 2 new TV series to my setup and they are not being correctly identified in the...
    Replies
    2
    Views
    451
    Got a reply from SD ... "Looks like your last successful download was on 5/23. On 5/24 for some reason we received 194 connections between 10:54 and 11:05 triggering a denial of service attack ban. The logs show it was lifted on 5/25, but I still see the entry in iptables. I reset fail2ban and hopefully you're working again." Weird...
    Got a reply from SD ... "Looks like your last successful download was on 5/23. On 5/24 for some reason we received 194...
    I'm using MediaPortal 1.38.1 x64 and have an SD-DD lineup account. In the last week, I have not been able to update my EPG, and...
    Replies
    3
    Views
    684
    I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV Server development looks dead so I'm afraid you're going to have to figure that out by yourself if it's even possible.
    I meant use MP client to try to spot how it's requesting streams for specific channels and then try to do the same with VLC. TV...
    Hi everyone, I've set up Mediaportal TV Server on a Windows 11 box, tuner deteced okay, scanned channels, can preview, all seems...
    Replies
    8
    Views
    3K
    No issues here, still working.
    No issues here, still working.
    EDIT on Feb 17 2026: There is a solution: User Antidot created a new program: newZap2it.exe which works to get EPG data from...
    Replies
    122
    Views
    51K
    Top Bottom