M
M
Maxim2016-09-11 15:33:40
PHP
Maxim, 2016-09-11 15:33:40

How to stop django server?

started the server forever start -c python3 manage.py runserver 0.0.0.0:8080
now I can't stop how to stop after forever?
did this forever stop -c python3 manage.py
got
info: Forever stopped process:
uid command script forever pid id logfile uptime
[0] 5cGr python3 manage.py runserver 0.0.0.0:8080 14378 14913 /root/.forever/5cGr.log 0:0:4:32.417

and the port is still hanging, HELP

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Rou1997, 2016-08-02
@Rou1997

?u");- remove extra characters.
This is not such a simple form, there are a lot of fields.

I
Ivan Koryukov, 2016-08-02
@MadridianFox

Number of args (0) doesn't match number of placeholders (1)

The error says that the number of substituted values ​​is zero, and there is one placeholder in the request. Why is it needed ?uat the end of the request?
Either it is not needed there, or you forgot to pass a parameter that will be substituted in place of the question mark (or in place ?u, depending on the database and the driver for working with it).
By the way, why are you inserting data from post into the request without preprocessing? It is for this, in part, that placeholders are intended - they will not allow an attacker to pass a piece of sql as one of the values,

S
sim3x, 2016-09-11
@sim3x

https://github.com/foreverjs/forever

actions:
    stop                Stop the daemon SCRIPT by Id|Uid|Pid|Index|Script

Z
zelsky, 2016-09-11
@zelsky

htop
f3 runserver
f9
9
9
Enter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question