Customize ports (1 Viewer)

Nicoolai

MP Donator
  • Premium Supporter
  • February 9, 2011
    84
    3
    38
    Denmark
    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

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    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
    38
    Denmark
    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
    31
    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 (Users: 0, Guests: 1)

    Top Bottom