Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
[solved] SIP - Can not open the listening port
Author Message
BrekekeUserGermany
Brekeke Member


Joined: 12 Apr 2018
Posts: 12

PostPosted: Thu Apr 01, 2021 4:54 am    Post subject: [solved] SIP - Can not open the listening port Reply with quote

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-message-cannot-open-the-listening-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/viewtopic.php?t=7946&highlight=listening+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
Back to top
View user's profile
Laurie
Brekeke Master Guru


Joined: 07 Jan 2008
Posts: 241

PostPosted: Fri Apr 02, 2021 5:34 pm    Post subject: Reply with quote

> 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?
Back to top
View user's profile
BrekekeUserGermany
Brekeke Member


Joined: 12 Apr 2018
Posts: 12

PostPosted: Tue Apr 06, 2021 11:48 pm    Post subject: Reply with quote

Hi Laurie,

thanks for the suggestions!

Quote:
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 Sad

Quote:
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).
Back to top
View user's profile
Laurie
Brekeke Master Guru


Joined: 07 Jan 2008
Posts: 241

PostPosted: Thu Apr 08, 2021 11:30 am    Post subject: Reply with quote

> 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?
Back to top
View user's profile
BrekekeUserGermany
Brekeke Member


Joined: 12 Apr 2018
Posts: 12

PostPosted: Mon Apr 12, 2021 4:47 am    Post subject: Reply with quote

Quote:
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 Smile
Back to top
View user's profile
Laurie
Brekeke Master Guru


Joined: 07 Jan 2008
Posts: 241

PostPosted: Mon Apr 12, 2021 11:24 am    Post subject: Reply with quote

did you change the Java version? For example, were you using Java 8 at the old environment, and now you use Java 11?
Back to top
View user's profile
BrekekeUserGermany
Brekeke Member


Joined: 12 Apr 2018
Posts: 12

PostPosted: Wed Apr 21, 2021 6:21 am    Post subject: Reply with quote

Quote:
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.
Back to top
View user's profile
Mike
Support Team


Joined: 07 Mar 2005
Posts: 731
Location: Sunny San Mateo

PostPosted: Wed Apr 21, 2021 9:29 am    Post subject: Reply with quote

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.
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1