diff --git a/api/nginx/site.conf b/api/nginx/site.conf
index 5ec4d84b..6fa74cad 100644
--- a/api/nginx/site.conf
+++ b/api/nginx/site.conf
@@ -9,6 +9,6 @@ server {
     add_header X-XSS-Protection "1; mode=block" always;
 
     location / {
-        proxy_pass http://127.0.0.1:5474;
+        proxy_pass http://127.0.0.1:8000;
     }
 }
diff --git a/api/rundocker.sh b/api/rundocker.sh
index 3db8c145..b209c2fe 100644
--- a/api/rundocker.sh
+++ b/api/rundocker.sh
@@ -86,11 +86,11 @@ systemctl status swarms-docker || echo oops2
 
 # now after swarms is up, we restart nginx
 HOST="localhost"
-PORT=5474
+PORT=8000
 while ! nc -z $HOST $PORT; do
   sleep 1
   echo -n "."
 done
 echo "Port ${PORT} is now open!"
 
-osystemctl restart nginx
+systemctl restart nginx