-
Notifications
You must be signed in to change notification settings - Fork 76
How to run
Nanahira edited this page Apr 12, 2024
·
8 revisions
If you enabled AI mode, you have to enable WindBot before running the server.
cd ygopro-server/windbot
pm2 start WindBot.exe --interpreter=mono --name=windbot -- ServerMode=true ServerPort=2399
Redis is deprecated. Use MySQL instead.
For testing:
node ygopro-server.js
For production:
pm2 start ygopro-server.js
If you are running with CentOS but not able to connect to the server, it may be that the port 7911 is blocked. There are 2 solutions.
Run the following command to turn firewalld
off.
sudo systemctl stop firewalld
sudo systemctl disable firewalld
Run the following command to unblock the ports used by SRVPro.
sudo firewall-cmd --zone=public --permanent --add-port=7911/tcp
sudo firewall-cmd --zone=public --permanent --add-port=7922/tcp
sudo firewall-cmd --zone=public --permanent --add-port=22/tcp
sudo firewall-cmd --reload