I installed the chef server on the server that is behind the firewall, i.e. I needed to configure some natting for this server so that it was available, and as a result, the server is accessible on port 449 from the outside (instead of the standard port 443 https). Now I installed the chef on my workstation and installed the knife. I set chef_server_url as https://blahblah.com-00-0049 (this is a dummy domain). Now I can connect with the knife to the server, because if I run something like a "knife client list", it gives a list. However, if I want to download the cookbook, it doesnโt seem like it is trying to connect to chef_server_url on the regular port 443:
h046n100:chef-repo chris$ knife cookbook upload hostname Uploading hostname [0.1.0] ERROR: Network Error: Error connecting to https:
Any ideas why this is done, and if / how can I tell the chef to use port 449?
Thank you very much in advance!
source share