thanks for response!

why i don't see that problem with SER 0.9.6? With that version my system (SER-SER-SEMS-UAC) work good.

i had checked /etc/hosts, local hostname "localhost" is there and with ping operation too.

I guess, somehow with new version that i have to fix.

Tuan.


On Nov 30, 2007 11:46 AM, Atle Samuelsen <clona@cyberhouse.no> wrote:

Hmm.. I'm guessing you are missing the hostname "localhost" in
/etc/hosts on your machine..

It should look like :
127.0.0.1               localhost.localdomain localhost

Try to do ping localhost, it "should" return 127.0.0.1

-Atle

* Tuan Nguyen <tuansip.vn@googlemail.com> [071130 11:36]:
> Hi everyone,
>
> i have a problem when i try with two version of SER: SER 0.9.6 and SER
> 2.1to connect with SEMS (the 1. SER proxy ). With SER
> 0.9.6 i don't have problem when start it, but with SER 2.1 it's so:
>
>  0(13446) ERROR: mk_proxy: could not resolve hostname: "localhost"
>  0(13446) ERROR: fixup_hostport2proxy: bad host name in URI <localhost>
>
> I guess, problem locate in this code:
>
>                     log("Forwarding to 5070");
>                     rewritehostport("localhost:5070");
>                     t_relay_to_udp("localhost","5070");
>
> Anyone know that where can i fix this problem with new version of SER?
>
> Thanks for responce.
> Tuan.

> _______________________________________________
> Serusers mailing list
> Serusers@lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers