How to change eve's IP address?

后端 未结 1 1279
感动是毒
感动是毒 2021-01-23 04:04

When I run the api.py the default IP address is 127.0.0.1:5000 which is the local host. I am running the eve scripts on the server side. Am I able to c

相关标签:
1条回答
  • 2021-01-23 04:18

    Add a parameter to your app.run(). By default it runs on localhost, change it to app.run(host= '0.0.0.0') to run on your machine IP address.

    0 讨论(0)
提交回复
热议问题