How to configure the port of gateway on Ali CVM

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.

clipboard.png

clipboard.png

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.

Jul.01,2021

$gateway = new Gateway ("tcp://0.0.0.0:8282");

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31617-2bd91.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31617-2bd91.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?