Cannot connect iOS Simulator to appium server

Hi everyone, We are trying to configure iOS simulator in config.yml to run iOS mobile app tests on iOS simulator but the issue we are facing is that the iOS simulator is unable to connect to appium server. Would really appreciate if you can help with this issue and also share a sample config.yml for iOS simulator setup so that we can compare our config.yml to see if we are missing anything.