Change vfc-nfvo-lcm listen ip to 0.0.0.0 71/13671/1
authorfujinhua <fu.jinhua@zte.com.cn>
Wed, 20 Sep 2017 05:34:33 +0000 (13:34 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Wed, 20 Sep 2017 05:34:33 +0000 (13:34 +0800)
Change-Id: I88c2754d40e7222a220496d1421a23955e33e32d
Issue-Id: VFC-394
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
run.sh
stop.sh

diff --git a/run.sh b/run.sh
index e94f1bb..aebe405 100755 (executable)
--- a/run.sh
+++ b/run.sh
@@ -12,5 +12,4 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # 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:8403 > /dev/null &
+nohup python manage.py runserver 0.0.0.0:8403 > /dev/null &
diff --git a/stop.sh b/stop.sh
index 5674b46..09aed90 100755 (executable)
--- a/stop.sh
+++ b/stop.sh
@@ -12,5 +12,4 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # 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:8403" | awk '{print $2}' | xargs kill -9
+ps auxww | grep "manage.py runserver 0.0.0.0:8403" | awk '{print $2}' | xargs kill -9