[solved] SIP - Can not open the listening port

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
BrekekeUserGermany
Posts: 12
Joined: Thu Apr 12, 2018 12:08 am

[solved] SIP - Can not open the listening port

Post by BrekekeUserGermany »

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.
Last edited by BrekekeUserGermany on Tue Apr 06, 2021 11:48 pm, edited 1 time in total.
Laurie
Posts: 245
Joined: Mon Jan 07, 2008 12:25 pm

Post by Laurie »

> 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?
BrekekeUserGermany
Posts: 12
Joined: Thu Apr 12, 2018 12:08 am

Post by BrekekeUserGermany »

Hi Laurie,

thanks for the suggestions!
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.
Hasn't worked either :(
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?
Yes, the Brekeke SIP-Fronted. The SIP-Server has no connection to the internet.
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).
Laurie
Posts: 245
Joined: Mon Jan 07, 2008 12:25 pm

Post by Laurie »

> But the SIP-Server keeps crashing after restoring the backup of it.

Which version of the SIP Server did you download the backup file from?
BrekekeUserGermany
Posts: 12
Joined: Thu Apr 12, 2018 12:08 am

Post by BrekekeUserGermany »

Which version of the SIP Server did you download the backup file from?
Version 3.9.5.8 Advanced

We haven't upgraded the version yet. It's the same as before :)
Laurie
Posts: 245
Joined: Mon Jan 07, 2008 12:25 pm

Post by Laurie »

did you change the Java version? For example, were you using Java 8 at the old environment, and now you use Java 11?
BrekekeUserGermany
Posts: 12
Joined: Thu Apr 12, 2018 12:08 am

Post by BrekekeUserGermany »

did you change the Java version? For example, were you using Java 8 at the old environment, and now you use Java 11?
The version hasn't changed.

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.
Mike
Posts: 733
Joined: Mon Mar 07, 2005 2:25 pm
Location: Sunny San Mateo
Contact:

Post by Mike »

If you would like to recover the backup file which causes a crash, please send the file to support@brekeke.com.

Because the file format is ZIP, we can extract configuration files unless the file is not corrupted.
Post Reply