You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following code to run uvicorn server in my server.py module which is similar to the examples given in the docs:
if __name__ == "__main__":
uvicorn.run(app, host="localhost", port=8080)
When I execute langchain serve, however, it does not listen on 8080, but on the default 8000 instead. Why does it not take into account the port specified in uvicorn.run()?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have the following code to run uvicorn server in my
server.py
module which is similar to the examples given in the docs:When I execute
langchain serve
, however, it does not listen on 8080, but on the default 8000 instead. Why does it not take into account the port specified inuvicorn.run()
?Beta Was this translation helpful? Give feedback.
All reactions