U
U
uf03612021-01-05 18:12:46
Flask
uf0361, 2021-01-05 18:12:46

How can I make the flask webserver public?

I want to make the flask server public. I do it via

app.run(host='0.0.0.0', port=5000)
, the server is running on a computer connected to wi fi. The problem is that I can’t connect from another network. The question is how to make it possible to connect from anywhere

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Gornostaev, 2021-01-05
@uf0361

Buy a white IP address from your provider and set up port forwarding on your router or buy a VPS.

O
outrun32, 2021-01-05
@outrun32

You can use ngrok , start the server on a specific port and assign that same port accordingly in the ngrok console, it will give you the public address

W
WhatIsHTML, 2017-03-23
@WhatIsHTML

You have padding in styles, because of this there is an indent.

.section-padding {
    padding: 90px 0;
}

Do for example like this
.shop-area.section-padding {
padding-bottom: 0;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question