[solved] SIP - Can not open the listening port
Moderator: Brekeke Support Team
-
- Posts: 12
- Joined: Thu Apr 12, 2018 12:08 am
[solved] SIP - Can not open the listening port
1. Brekeke Product Name and Version: Brekeke SIP Server, Version 3.9.5.8, Advanced
2. Java version: AdoptOpenJDK 11.0.7
3. OS type and the version: Windows Server 2012 R2 6.3
4. UA (phone), gateway or other hardware/software involved: Elsbeth Communication Manager
5. Your problem: SIP-Server won't start - "Can not open the listening port. Try restarting the machine."
This error seems like a known issue which is documented in https://docs.brekeke.com/sip/error-mess ... ening-port
I've checked with "netstat -ao" which program is using 5060/udp, but there's no program listed!
It looks like 5060/udp is not in use.
I've restarted the whole machine, but the result is the same.
Brekeke Service on the local machine has started.
What I've did:
Opened the Firewall ( http://www.brekeke-sip.com/bbs/viewtopi ... ening+port ) to Any/Any, but the result is the same.
The strange this is:
I'm using 4 SIP-Servers located on different machines - They're equal configured.
On 2 of them we've changed the physical location and the IP-Addresses which were used.
These 2 are working correctly without any issue.
The 3rd one (mentioned in this toppic) causes problems.
One additional Information:
The login process on the Frontend takes a lot of time (10sec).
The other machines are much faster (< 1sec). Maybe it's related to this issue..
I'm happy for any suggestion to solve this!
Thanks and happy easter.
2. Java version: AdoptOpenJDK 11.0.7
3. OS type and the version: Windows Server 2012 R2 6.3
4. UA (phone), gateway or other hardware/software involved: Elsbeth Communication Manager
5. Your problem: SIP-Server won't start - "Can not open the listening port. Try restarting the machine."
This error seems like a known issue which is documented in https://docs.brekeke.com/sip/error-mess ... ening-port
I've checked with "netstat -ao" which program is using 5060/udp, but there's no program listed!
It looks like 5060/udp is not in use.
I've restarted the whole machine, but the result is the same.
Brekeke Service on the local machine has started.
What I've did:
Opened the Firewall ( http://www.brekeke-sip.com/bbs/viewtopi ... ening+port ) to Any/Any, but the result is the same.
The strange this is:
I'm using 4 SIP-Servers located on different machines - They're equal configured.
On 2 of them we've changed the physical location and the IP-Addresses which were used.
These 2 are working correctly without any issue.
The 3rd one (mentioned in this toppic) causes problems.
One additional Information:
The login process on the Frontend takes a lot of time (10sec).
The other machines are much faster (< 1sec). Maybe it's related to this issue..
I'm happy for any suggestion to solve this!
Thanks and happy easter.
Last edited by BrekekeUserGermany on Tue Apr 06, 2021 11:48 pm, edited 1 time in total.
> Can not open the listening port. Try restarting the machine."
Have you disabled the firewall for testing (not only openning the port)? If it doesn't work, try to start Brekeke SIP Server service as an Administrator.
> The login process on the Frontend takes a lot of time (10sec).
Is it a login to the GUI? Does the SIP Server have an Internet connection? Did you set a valid DNS setting on the OS?
Have you disabled the firewall for testing (not only openning the port)? If it doesn't work, try to start Brekeke SIP Server service as an Administrator.
> The login process on the Frontend takes a lot of time (10sec).
Is it a login to the GUI? Does the SIP Server have an Internet connection? Did you set a valid DNS setting on the OS?
-
- Posts: 12
- Joined: Thu Apr 12, 2018 12:08 am
Hi Laurie,
thanks for the suggestions!
DNS is set correctly via Policy.
--
In the meantime we've tried something else.
We uninstalled Brekeke SIP completely and installed it again.
A blank SIP-Server without any configuration is able to start.
But the SIP-Server keeps crashing after restoring the backup of it.
I guess there was something wrong with the configuration itself or with the backup.
We've set up the Brekeke SIP manually with the documented settings and it's running again.
It's very strange that this one was the only server facing this issue (1 out of 3 so far).
thanks for the suggestions!
Hasn't worked eitherHave you disabled the firewall for testing (not only openning the port)? If it doesn't work, try to start Brekeke SIP Server service as an Administrator.
Yes, the Brekeke SIP-Fronted. The SIP-Server has no connection to the internet.Is it a login to the GUI? Does the SIP Server have an Internet connection? Did you set a valid DNS setting on the OS?
DNS is set correctly via Policy.
--
In the meantime we've tried something else.
We uninstalled Brekeke SIP completely and installed it again.
A blank SIP-Server without any configuration is able to start.
But the SIP-Server keeps crashing after restoring the backup of it.
I guess there was something wrong with the configuration itself or with the backup.
We've set up the Brekeke SIP manually with the documented settings and it's running again.
It's very strange that this one was the only server facing this issue (1 out of 3 so far).
-
- Posts: 12
- Joined: Thu Apr 12, 2018 12:08 am
-
- Posts: 12
- Joined: Thu Apr 12, 2018 12:08 am
The version hasn't changed.did you change the Java version? For example, were you using Java 8 at the old environment, and now you use Java 11?
The only thing that has changed was the IP-Address.
We've added Firewall-Rules, because other servers received a new IP-Address as well, but the old Firewall-Rules will remain on them until every server has received a new address.
Of cource we've configured a Firewall-Rule which has a Cross-connection between the old and new networks - But this should not affect the SIP-Server startup mechanism.