Chef url server error in my amazon linux machine kindly help me out?

[root@ip-172-31-19-94 chef-repo]# knife config list
ERROR: ChefConfig::ConfigurationError: [root@ip-172-31-19-94 chef-repo]# knife configure is an invalid chef_server_url. The URL must start with http://, https://, or chefzero://.
[root@ip-172-31-19-94 chef-repo]#
[root@ip-172-31-19-94 chef-repo]# knife config list
ERROR: ChefConfig::ConfigurationError: [root@ip-172-31-19-94 chef-repo]# knife configure is an invalid chef_server_url. The URL must start with http://, https://, or chefzero://.
[root@ip-172-31-19-94 chef-repo]# knife bootstrap 172.31.19.33 -U ec2-user --sudo -i node321.pem -N node1
ERROR: CONFIGURATION ERROR:[root@ip-172-31-19-94 chef-repo]# knife configure is an invalid chef_server_url. The URL must start with http://, https://, or chefzero://.
[root@ip-172-31-19-94 chef-repo]# knife upload cookbook test-cookbook
ERROR: CONFIGURATION ERROR:[root@ip-172-31-19-94 chef-repo]# knife configure is an invalid chef_server_url. The URL must start with http://, https://, or chefzero://.

What does knife config show display?

HI ,JEFF THANKS FOR YOUR KIND RESPONSE . SCREEN SHOT OF ERROR HAVE BEEN ATTACHED .KINDLY PLEASE LOOK INTO THIS ERROR?

This error is not a server error, but something that knife is reporting. It looks like you may have something unexpected in the chef_server_url value of your knife.rb or client.rb. Could you provide the chef_server_url config value? Depending on where/how you're running and which version, it will be found in one of:

~/.chef/knife.rb
~/.chef/config.rb
~/.chef/credentials
/etc/chef/config.rb