I am trying to deploy Azure function to Linux environment. Function needs to use hybrid connection to connect to on-prem API on port 80.
After deploy I receive the following error "Azure Functions Runtime is unreachable". Here is the output from docker logs:
2023-03-22T11:44:50.580612973Z Unhandled exception on 03/22/2023 11:44:50: System.AggregateException: One or more errors occurred. (Failed to bind to address http://[::]:80: address already in use.)
2023-03-22T11:44:50.580768273Z ---> System.IO.IOException: Failed to bind to address http://[::]:80: address already in use.
2023-03-22T11:44:50.580781573Z ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
2023-03-22T11:44:50.580785873Z ---> System.Net.Sockets.SocketException (98): Address already in use
2023-03-22T11:44:50.580883973Z at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
2023-03-22T11:44:50.580895373Z at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
2023-03-22T11:44:50.580899573Z at System.Net.Sockets.Socket.Bind(EndPoint localEP)
Setting WEBSITES_PORT
to another port doesn't fix the issue.