networking - Will others be able to connect to a web server running on my laptop when it is connected to a public WiFi network? -


if run webserver on laptop, on public network such university's, other people on network able connect application through browsers?

the project made flask, , running file code:

from my_project import app  if __name__ == '__main__':     app.run(host='0.0.0.0', port=7000, debug=true, threaded=true) 

i run mysql database server stores data flask application. on workplace computer, other computers on network connect it, believe; same flask app.

however, when developing on laptop on public network, others able connect, either flask web server or mysql database server?

i'm not sure mysql server, on same wifi network able connect flask server. hosting on 0.0.0.0 (host on available ip addresses), allowing has ip address connect. however, people on other networks not able connect, since public wifi network hasn't port forwarded laptop.

edit: if want develop web server on public wifi network, host on 127.0.0.1 instead. way, host computer able connect.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -