aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication/Native/RegisterServer.bat
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-09-09 15:42:40 -0400
committerGitHub <noreply@github.com>2016-09-09 15:42:40 -0400
commit080a6511dc44edde960e6aefcab7e6cc068a3414 (patch)
tree499c61fec48dcc080888d9cfc021baf734886fe7 /MediaBrowser.ServerApplication/Native/RegisterServer.bat
parent51051c27cd4a30010eee98f4f99ebb895e166a91 (diff)
parent5ad606a2232c6911e2cd8cf5d03da635c7c0c75d (diff)
Merge pull request #2151 from MediaBrowser/beta
Beta
Diffstat (limited to 'MediaBrowser.ServerApplication/Native/RegisterServer.bat')
-rw-r--r--MediaBrowser.ServerApplication/Native/RegisterServer.bat2
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