firewall autorisation does not work for Java(TM)

Hi,

I installed Universal Media Server in order to read some videos of my PC from my PS4, but Avast firewall is blocking Java/jre7/bin/javaw.exe (installed with Universal Media Server) even though I authorized it.
The PS4 remains not recognized by the media server.

But when I am disconnecting the firewall, the PS4 gets recognized directly.
Any clue of what I am missing here, please?

Thx

Is your firewall network profile in puplic? … Try private

NOTE:The Network profiles control the settings which determine how strictly Firewall protects your PC.

Private: a lower level of security suitable for when your PC is connected to a trusted network such as your home or work network. This profile enables better connectivity, and permits all communication within the network.

Public: a higher level of security suitable for when your PC is connected to a public network such as in a cafe or airport. Because public networks present greater security risks, no incoming communication is permitted when this profile is set.

yes it was in public. I switched to Private and it solved the problem.

Thank you for your quick reply.
Cheers
Tom