I try to start a host with IP https://0.0.0.0:9000 with Nancy Host , but I get a System - The request is not supported exception System - The request is not supported . Below is my code.
string strHostProtocol = "https"; string strHostIP = "0.0.0.0"; string strHostPort = "9000"; var url = strHostProtocol + "://" + strHostIP + ":" + strHostPort; this.host = new NancyHost(new Uri(url)); this.host.Start();
This will allow me to start another IP address, for example 127.0.0.1:9000 , 192.168.100.10:9000 , etc., but not 0.0.0.0:9000 . I read that this is a valid IP address. But my question is, why is this not starting up? Is this IP reserved for any purpose?
Update
The only goal here is: I'm trying to access the internal IP through the public IP address. But Nancy, although he starts the internal IP port with the port, when the request is provided through the public IP address, he does not recognize it. Not sure if this is achievable or not.
source share