diff --git a/Dockerfile b/Dockerfile
index 9dd39afee397bb16da2e46067e0c926aa38c7ea7..e233f6dc08c38bb30be34e8bd1e35726ebe7540c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -64,4 +64,4 @@ RUN setcap cap_net_bind_service=+ep /usr/bin/python2.7
 # ports
 EXPOSE 80 58846 58946 58946/udp
 
-ENTRYPOINT /Entrypoint.sh
\ No newline at end of file
+ENTRYPOINT /Entrypoint.sh
diff --git a/configs/core.conf b/configs/core.conf
index ca21f906239f003c3648e6d6f9b5de6b72e2769e..02db6a75b8a9974ab1d223a646d00c2d69675aca 100644
--- a/configs/core.conf
+++ b/configs/core.conf
@@ -53,7 +53,7 @@
 "Label",
 "Notifications"
 ],
-"random_port": false,
+"random_port": true,
 "autoadd_enable": true,
 "max_connections_global": -1,
 "enc_prefer_rc4": true,
@@ -103,4 +103,4 @@
 "remove_seed_at_ratio": false,
 "autoadd_location": "/torrents/watch",
 "plugins_location": "/torrents/config/deluge/plugins"
-}
\ No newline at end of file
+}