Browse Source

Fake_api example : Better port numbering

Guénaël Muller 6 years ago
parent
commit
80bf45d841
2 changed files with 2 additions and 2 deletions
  1. 1 1
      example/fake_api/bottle_api.py
  2. 1 1
      example/fake_api/pyramid_api.py

+ 1 - 1
example/fake_api/bottle_api.py View File

@@ -118,4 +118,4 @@ time.sleep(1)
118 118
 # print swagger doc
119 119
 print(s)
120 120
 # Run app
121
-app.run(host='localhost', port=8080, debug=True)
121
+app.run(host='localhost', port=8081, debug=True)

+ 1 - 1
example/fake_api/pyramid_api.py View File

@@ -127,5 +127,5 @@ time.sleep(1)
127 127
 # print swagger doc
128 128
 print(s)
129 129
 # Run app
130
-server = make_server('0.0.0.0', 8081, configurator.make_wsgi_app())
130
+server = make_server('0.0.0.0', 8083, configurator.make_wsgi_app())
131 131
 server.serve_forever()