In my case I had to turn my Windows Firewall off
1- Open your Windows Firewall by just clicking the Start button Picture of the Start button, and then clicking the Control Panel. In your search box, just type firewall, and after that click on Windows Firewall.
2- Now just click on Turn Windows Firewall on or off. The Administrator permission required If you are prompted for the administrator password or the confirmation, type your password or provide the confirmation.
3- Click on Turn off Windows Firewall (not recommended by me) under the each network location that you are trying to stop the protection, and after that click on OK.
Some times you need below steps also
- To stop all the Vpn client services (fortiClient ,vpn Client ...)
- To stop all the Antivirus Firewall ( exemple Kaspersky => Configuration => Anti-Hacker)
I am using the jboss so the solution to your problem is very simple just restart using the below command :
service jboss-portal restart