PS C:\Users\TERMINATOR\Desktop\MemeScape\Server 1\Server> python -c "import socket;print(socket.getfqdn())"
OLENЬ
PS C:\Users\TERMINATOR\Desktop\MemeScape\Server 1\Server> & C:/Users/TERMINATOR/AppData/Local/Programs/Python/Python38-32/python.exe "c:/Users/TERMINATOR/Desktop/MemeScape/Server 1/Server/app.py"
* Serving Flask app 'app'
* Debug mode: on
Traceback (most recent call last):
File "c:/Users/TERMINATOR/Desktop/MemeScape/Server 1/Server/app.py", line 11, in <module>
ap.run(debug = True)
File "C:\Users\TERMINATOR\AppData\Local\Programs\Python\Python38-32\lib\site-packages\flask\app.py", line 889, in run
run_simple(t.cast(str, host), port, self, **options)
File "C:\Users\TERMINATOR\AppData\Local\Programs\Python\Python38-32\lib\site-packages\werkzeug\serving.py", line 1075, in run_simple
srv = make_server(
File "C:\Users\TERMINATOR\AppData\Local\Programs\Python\Python38-32\lib\site-packages\werkzeug\serving.py", line 915, in make_server
return ThreadedWSGIServer(
File "C:\Users\TERMINATOR\AppData\Local\Programs\Python\Python38-32\lib\site-packages\werkzeug\serving.py", line 748, in __init__
self.server_bind()
File "C:\Users\TERMINATOR\AppData\Local\Programs\Python\Python38-32\lib\http\server.py", line 140, in server_bind
self.server_name = socket.getfqdn(host)
File "C:\Users\TERMINATOR\AppData\Local\Programs\Python\Python38-32\lib\socket.py", line 756, in getfqdn
hostname, aliases, ipaddrs = gethostbyaddr(name)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdc in position 4: unexpected end of data
PS C:\Users\TERMINATOR\Desktop\MemeScape\Server 1\Server>
Traceback (most recent call last):
File "c:/Users/TERMINATOR/Desktop/Server/Сервер/Server/app.py", line 11, in <module>
app.run(debug = True)
File "C:\Users\TERMINATOR\AppData\Local\Programs\Python\Python38-32\lib\site-packages\flask\app.py", line 889, in run
run_simple(t.cast(str, host), port, self, **options)
File "C:\Users\TERMINATOR\AppData\Local\Programs\Python\Python38-32\lib\site-packages\werkzeug\serving.py", line 1075, in run_simple
srv = make_server(
File "C:\Users\TERMINATOR\AppData\Local\Programs\Python\Python38-32\lib\site-packages\werkzeug\serving.py", line 915, in make_server
return ThreadedWSGIServer(
File "C:\Users\TERMINATOR\AppData\Local\Programs\Python\Python38-32\lib\site-packages\werkzeug\serving.py", line 748, in __init__
self.server_bind()
File "C:\Users\TERMINATOR\AppData\Local\Programs\Python\Python38-32\lib\http\server.py", line 140, in server_bind
self.server_name = socket.getfqdn(host)
File "C:\Users\TERMINATOR\AppData\Local\Programs\Python\Python38-32\lib\socket.py", line 756, in getfqdn
hostname, aliases, ipaddrs = gethostbyaddr(name)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdc in position 4: unexpected end of data
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
return('Ырка')
if __name__ == "__main__":
app.run(debug = True)