summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--run.sh3
-rw-r--r--stop.sh3
2 files changed, 2 insertions, 4 deletions
diff --git a/run.sh b/run.sh
index d4c10a52..c96b7a73 100644
--- a/run.sh
+++ b/run.sh
@@ -13,5 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-sip=127.0.0.1
-nohup python manage.py runserver $sip:8806 > /dev/null &
+nohup python manage.py runserver 0.0.0.0:8806 > /dev/null &
diff --git a/stop.sh b/stop.sh
index 40ed3b60..5b0b8065 100644
--- a/stop.sh
+++ b/stop.sh
@@ -13,5 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-sip=127.0.0.1
-ps auxww | grep "manage.py runserver $sip:8806" | awk '{print $2}' | xargs kill -9
+ps auxww | grep "manage.py runserver 0.0.0.0:8806" | awk '{print $2}' | xargs kill -9