Listen to all native addresses when you start the Django service,
so that you can accept rest requests for all local addresses
Change-Id: Ie9751ce08cf5cdfbe42d24163efba4a05b0fb42d
Issue-ID: VFC-405
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
# 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.
-nohup python manage.py runserver 127.0.0.1:8803 > /dev/null &
+
+nohup python manage.py runserver 0.0.0.0:8803 > /dev/null &
# 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.
-ps auxww | grep 'manage.py runserver 127.0.0.1:8803' | awk '{print $2}' | xargs kill -9
+
+ps auxww | grep 'manage.py runserver 0.0.0.0:8803' | awk '{print $2}' | xargs kill -9