I'm trying to run this application on a different port(8080). I tried putting the port parameter but it doesn't seem to work.
I'm getting a 404 page, but when i switch port to 5000, I encounter no problem.
from eve import Eve
app = Eve()
@app.route("/hello", methods=['GET'])
def hello():
return "Hello World!"
if __name__ == '__main__':
app.run(port=8080, debug=True)
Make sure that SERVER_NAME = None
(which is the default) is set in your settings file.