From 50b3b45866fe050311585c767bb103d154324690 Mon Sep 17 00:00:00 2001 From: Tobias Eidelpes Date: Wed, 11 Nov 2020 16:38:02 +0100 Subject: [PATCH] Hardcode ports without calculation --- src/main/resources/domains.properties | 4 ++-- src/main/resources/mailbox-earth-planet.properties | 6 +++--- src/main/resources/mailbox-univer-ze.properties | 6 +++--- src/main/resources/monitoring.properties | 2 +- src/main/resources/transfer-1.properties | 4 ++-- src/main/resources/transfer-2.properties | 6 +++--- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/main/resources/domains.properties b/src/main/resources/domains.properties index cb1f6c7..d0447cb 100644 --- a/src/main/resources/domains.properties +++ b/src/main/resources/domains.properties @@ -1,3 +1,3 @@ # = -earth.planet=127.0.0.1:11620+2 -univer.ze=127.0.0.1:11620+4 +earth.planet=127.0.0.1:11622 +univer.ze=127.0.0.1:11624 diff --git a/src/main/resources/mailbox-earth-planet.properties b/src/main/resources/mailbox-earth-planet.properties index 576cb4b..aa22a1b 100644 --- a/src/main/resources/mailbox-earth-planet.properties +++ b/src/main/resources/mailbox-earth-planet.properties @@ -1,8 +1,8 @@ # TCP port used for the DMTP server socket -dmtp.tcp.port=11620+2 +dmtp.tcp.port=11622 # TCP port used for the DMAP server socket -dmap.tcp.port=11620+3 +dmap.tcp.port=11623 # mail domain managed by the mailbox server domain=earth.planet @@ -19,4 +19,4 @@ root_id=root-nameserver registry.host=localhost # RMI registry port -registry.port=11620+9 +registry.port=11629 diff --git a/src/main/resources/mailbox-univer-ze.properties b/src/main/resources/mailbox-univer-ze.properties index 46d4951..db4fbf5 100644 --- a/src/main/resources/mailbox-univer-ze.properties +++ b/src/main/resources/mailbox-univer-ze.properties @@ -1,8 +1,8 @@ # TCP port used for the DMTP server socket -dmtp.tcp.port=11620+4 +dmtp.tcp.port=11624 # TCP port used for the DMAP server socket -dmap.tcp.port=11620+5 +dmap.tcp.port=11625 # mail domain managed by the mailbox server domain=univer.ze @@ -19,4 +19,4 @@ root_id=root-nameserver registry.host=localhost # RMI registry port -registry.port=11620+9 +registry.port=11629 diff --git a/src/main/resources/monitoring.properties b/src/main/resources/monitoring.properties index 90ad6dd..b8a7ee2 100644 --- a/src/main/resources/monitoring.properties +++ b/src/main/resources/monitoring.properties @@ -1,2 +1,2 @@ # UDP port used for accepting monitoring packets -udp.port=11620+8 +udp.port=11628 diff --git a/src/main/resources/transfer-1.properties b/src/main/resources/transfer-1.properties index d252429..ec15c27 100644 --- a/src/main/resources/transfer-1.properties +++ b/src/main/resources/transfer-1.properties @@ -3,7 +3,7 @@ tcp.port=11620 # UDP socket address of the monitoring server monitoring.host=127.0.0.1 -monitoring.port=11620+8 +monitoring.port=11628 # ============================================= Required for Assignment 2 @@ -14,4 +14,4 @@ root_id=root-nameserver registry.host=localhost # RMI registry port -registry.port=11620+9 +registry.port=11629 diff --git a/src/main/resources/transfer-2.properties b/src/main/resources/transfer-2.properties index c347ff0..7b8e1a5 100644 --- a/src/main/resources/transfer-2.properties +++ b/src/main/resources/transfer-2.properties @@ -1,9 +1,9 @@ # TCP port used for the DMTP server socket -tcp.port=11620+1 +tcp.port=11621 # UDP socket address of the monitoring server monitoring.host=127.0.0.1 -monitoring.port=11620+8 +monitoring.port=11628 # ============================================= Required for Assignment 2 @@ -14,4 +14,4 @@ root_id=root-nameserver registry.host=localhost # RMI registry port -registry.port=11620+9 +registry.port=11629