Springbootはアイデアで運河同期エラーを実装します:java.lang.IllegalStateException:CommandLineRunnerの実行に失敗しました



Springboot Implements Canal Synchronization Error Idea



エラーメッセージは次のとおりです。



解決する 方法:

Linuxファイアウォールがオフになっていない可能性があります。ファイアウォールをオフにしてください!



#######################################

CentOS8ファイアウォールのシャットダウンおよびその他のコマンド

1--ファイアウォールのステータスを表示する



systemctlステータスfirewalld.service

2--ファイアウォールをオンにします

systemctl startfirewalld.service

3--ファイアウォールをオフにします

systemctl stopfirewalld.service

4-ファイアウォールを無効にする

systemctl disablefirewalld.service

5--ファイアウォールは起動後に自動的にオンになります

systemctl enablefirewalld.service

6--起動時にファイアウォールを無効にして自動的にオンにする

systemctl disablefirewalld.service