Connect sip softphone to local server using the ip address instead of 127.0.0.1

3k views Asked by At

I am doing some POC on presence server using SIP servlets. I have connected softphone to the presence server using "127.0.0.1".

Now, I am trying to use the ip(given by connected wifi router) instead of 127.0.0.1 to connect to the server but the softphone is not able to register to the server. Gives SIP 923 No DNS result. error. The softphone is Zoiper.

I am not able to figure out what exactly is the problem. Probably I may need some extra configurations.

So, how can I connect to local server using my machine ip instead of localhost.

Application setup: Mobicents presence server on JBoss.

What could be the solution? I guess something like port forwarding!! I have no idea about this, just got some idea by searching for the solution.

Help appreciated.

Thanks

1

There are 1 answers

0
user3275095 On BEST ANSWER

We have to make server listen on the IP address instead of loaclhost or 127.0.0.1

We can do this from some configuration file provided by the server where the ip binding is defined.