X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=charts%2Fresources%2Fscripts%2Finit%2Fo2api_start.sh;h=4581db5b1f72f9eefdd8d12571555eeff5f83e20;hb=9df82d9cc61e7e663b7d5d388393de9083b34f33;hp=243d86cbb8e3beb727d614fd3bee6f5ecaae66c7;hpb=7aa6a48221b71ec20ae1908e60b6eb1909fd5330;p=pti%2Fo2.git diff --git a/charts/resources/scripts/init/o2api_start.sh b/charts/resources/scripts/init/o2api_start.sh index 243d86c..4581db5 100644 --- a/charts/resources/scripts/init/o2api_start.sh +++ b/charts/resources/scripts/init/o2api_start.sh @@ -1,4 +1,4 @@ -# Copyright (C) 2021-2022 Wind River Systems, Inc. +# Copyright (C) 2021-2024 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,6 +14,7 @@ #!/bin/bash -gunicorn -b 0.0.0.0:80 o2app.entrypoints.flask_application:app --certfile /configs/server.crt --keyfile /configs/server.key +# The gunicorn start with [::] to listen on both IPv4 and IPv6 +gunicorn -b [::]:80 o2app.entrypoints.flask_application:app --certfile /configs/server.crt --keyfile /configs/server.key sleep infinity