help me Port 6900 dont open In Centos 7

JackTheGorrion

New member
Messages
22
Points
0
Age
33
Location
Dom Rep
Emulator
Client Version
2013-
Hi I have a problem when opening the ports in google cloud vps in centos 7 the other ports open normal but port 6900 does not open, I would like to know any suggestions to open this port? ps: ports 5121 and 6121 are already in the firewall open normally but 6900 does not open

 
firewall-cmd --zone=public --permanent --add-port=6900/tcp
firewall-cmd --zone=public --permanent --add-port=6121/tcp
firewall-cmd --zone=public --permanent --add-port=5121/tcp
firewall-cmd --reload


try maybe firewall is preventing it.

 
firewall-cmd --zone=public --permanent --add-port=6900/tcp firewall-cmd --zone=public --permanent --add-port=6121/tcp firewall-cmd --zone=public --permanent --add-port=5121/tcp firewall-cmd --reload

firewall-cmd --zone=public --permanent --add-port=6900/tcp
firewall-cmd --zone=public --permanent --add-port=6121/tcp
firewall-cmd --zone=public --permanent --add-port=5121/tcp
firewall-cmd --reload


try maybe firewall is preventing it.
Sir in the console it tells me that it is open but when I try to log the server it keeps saying that it is closed as in the port checker: C

PD : [Status]: Connecting to MY IP:6900
[Error]: make_connection: connect failed (socket #6, error 111: Connection refused

 
Last edited by a moderator:
it must be the database credentials try 
 

Code:
mysql -u root
CREATE USER 's1'@'localhost' IDENTIFIED BY 'p1';
GRANT ALL ON `your_game_database`.* TO 's1'@'localhost';
GRANT ALL ON `your_log_database`.* TO 's1'@'localhost';
FLUSH PRIVILEGES;
 
it must be the database credentials try 
 

mysql -u root
CREATE USER 's1'@'localhost' IDENTIFIED BY 'p1';
GRANT ALL ON `your_game_database`.* TO 's1'@'localhost';
GRANT ALL ON `your_log_database`.* TO 's1'@'localhost';
FLUSH PRIVILEGES;

mysql -u root
CREATE USER 's1'@'localhost' IDENTIFIED BY 'p1';
GRANT ALL ON `your_game_database`.* TO 's1'@'localhost';
GRANT ALL ON `your_log_database`.* TO 's1'@'localhost';
FLUSH PRIVILEGES;

well everything is working it is only the problem of port 6900 that you do not want to open hahah: c

 
Hi I have a problem when opening the ports in google cloud vps in centos 7 the other ports open normal but port 6900 does not open, I would like to know any suggestions to open this port? ps: ports 5121 and 6121 are already in the firewall open normally but 6900 does not open
You should allow first using Iptables port 6900

# iptables -I INPUT 1 -p tcp --dport 6900 -j ACCEPT

# iptables -A INPUT -s 192.168.0.1 -p tcp --dport 6900 -i eth0 -j ACCEPT  ------ change the IP hostname

# iptables-save

After that allow firewall cmd command

firewall-cmd --zone=public --permanent --add-port=6900/tcp

firewall-cmd --zone=public --permanent --add-port=6121/tcp

firewall-cmd --zone=public --permanent --add-port=5121/tcp

firewall-cmd --reload

 
Back
Top