diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-09-06 02:51:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-06 02:51:56 -0400 |
| commit | 65c52fc32a891aa8181170e10f2ada43bc56d69a (patch) | |
| tree | 7d322a494ab2e679a22c003145858ef80bad32d3 /MediaBrowser.ServerApplication/Native/RegisterServer.bat | |
| parent | c8042fb03e163dc7ed55ddcd279c0a3770f45db8 (diff) | |
| parent | d6645c2909b501492f68587acf33fe667df3e369 (diff) | |
Merge pull request #2143 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.ServerApplication/Native/RegisterServer.bat')
| -rw-r--r-- | MediaBrowser.ServerApplication/Native/RegisterServer.bat | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.ServerApplication/Native/RegisterServer.bat b/MediaBrowser.ServerApplication/Native/RegisterServer.bat index 27f863d58..85baa0d03 100644 --- a/MediaBrowser.ServerApplication/Native/RegisterServer.bat +++ b/MediaBrowser.ServerApplication/Native/RegisterServer.bat @@ -20,7 +20,9 @@ netsh advfirewall firewall add rule name="Port %3" dir=in action=allow protocol= if [%4]==[] GOTO DONE +netsh advfirewall firewall delete rule name="mediabrowser.serverapplication.exe" netsh advfirewall firewall delete rule name="Emby Server" + netsh advfirewall firewall add rule name="Emby Server" dir=in action=allow protocol=TCP program=%4 enable=yes netsh advfirewall firewall add rule name="Emby Server" dir=in action=allow protocol=UDP program=%4 enable=yes |
