problem description
the server belongs to Aliyun, windows 2008 R2 system. There is a public IP and private IP, on Aliyun. How to configure IP? in the start_gateway.php file
the environmental background of the problems and what methods you have tried
Ali CVM, the security group has opened all ports. Try the public network IP, prompt "in its context, the request address is invalid". If you change it to private network IP, you can run it, but the private network IP cannot be accessed through the public network.
related codes
/ / Please paste the code text below (do not replace the code with pictures)
$gateway = new Gateway ("tcp:// public network IP"); prompt "the request address is not valid in its context"
$gateway = new Gateway ("tcp:// intranet IP"); you can run
what result do you expect? What is the error message actually seen?
how to configure geteway"s IP on Ali CVM with the help of various warriors.