From: fujinhua Date: Tue, 19 Sep 2017 11:31:57 +0000 (+0800) Subject: Change listen ip to 0.0.0.0 X-Git-Tag: v1.0.0~49 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=52e6d677d167156c2215f79979597ac324d6edca;p=vfc%2Fnfvo%2Fcatalog.git Change listen ip to 0.0.0.0 Change-Id: I0853329fc3479f562a4d41e1a9adb195f6f337da Issue-Id: VFC-389 Signed-off-by: fujinhua --- 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