Customize ports (1 Viewer)

Nicoolai

MP Donator
  • Premium Supporter
  • February 9, 2011
    84
    3
    41
    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,577
    8,224
    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
    41
    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
    35
    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

    Good shout! Working when setting the network to private. Windows 7 firewall certainly doesn't behave like it does in Windows 10/11. Saved me a lot of time having to debug the code. Thanks for the tip!
    Good shout! Working when setting the network to private. Windows 7 firewall certainly doesn't behave like it does in Windows 10/11...
    Hello, I spent a couple of days trying to resolve this issue and cannot figure it out. I have set up MediaPortal Server on an old...
    Replies
    2
    Views
    859
    So far I needed to limit the media items to respect the token limit of ChatGPT. Now the complete media items can be used, because the movie list is splitted into chunks of a specified size and responses for each chunk are concentrated into the result list :) private async Task<string> GenerateResponseWithGPT(string searchQuery...
    So far I needed to limit the media items to respect the token limit of ChatGPT. Now the complete media items can be used, because...
    Hi, I'm planning to write a plugin for MediaPortal 2, that supports users to find the right media items with help of AI...
    Replies
    6
    Views
    926
    I need to try MadVR, I hope my Intel NAC can manage it.
    I need to try MadVR, I hope my Intel NAC can manage it.
    Remember PAL DVDs of US movies and TV Shows, and how they were converted to 25 fps thus introducing a "smurf lite" pitch on the...
    Replies
    2
    Views
    285
    I avoid touching that system as long as it runs. Now that 2.4.1 seems to run again, I probably wait for the next issue.
    I avoid touching that system as long as it runs. Now that 2.4.1 seems to run again, I probably wait for the next issue.
    Hi, I have just upgraded from MP 2.2.2 to MP 2.4.1, and now the client won't start. I see the splash screen, and then it just...
    Replies
    3
    Views
    854
    Didn't know computers are available in Canada's jails... :p
    Didn't know computers are available in Canada's jails... :p
    Hi folks, basically I have this m3u list with links I am trying to scan with the TV configuration tool but all the channels even...
    Replies
    5
    Views
    509
    Top Bottom