Change default listening address to 127.0.0.1:17765

- Update host from 0.0.0.0 to 127.0.0.1 for localhost-only access
- Update port from 8000 to 17765
- Update log message to reflect new address
parent bec2198c
...@@ -414,8 +414,8 @@ async def catch_all_post(provider_id: str, request: Request): ...@@ -414,8 +414,8 @@ async def catch_all_post(provider_id: str, request: Request):
def main(): def main():
"""Main entry point for the AISBF server""" """Main entry point for the AISBF server"""
import uvicorn import uvicorn
logger.info("Starting AI Proxy Server on http://localhost:8000") logger.info("Starting AI Proxy Server on http://127.0.0.1:17765")
uvicorn.run(app, host="0.0.0.0", port=8000) uvicorn.run(app, host="127.0.0.1", port=17765)
if __name__ == "__main__": if __name__ == "__main__":
main() main()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment