Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  Yaws and Soap on a MAC(OS X)

Guest
Posted: Thu May 03, 2007 8:30 pm Reply with quote
Guest
Hi,

I was wondering if anyone has tried running yaws on OS X. We are trying
to get it working. Serving webpages works just fine including using json
to make erlang callbacks. The problem we are having is when we try to
make a soap call it keeps returning {error, connection refused}. The
exact same code works fine on linux.

Thanks,

Bram Cymet


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Thu May 03, 2007 9:08 pm Reply with quote
Guest
Bram Cymet wrote:
> Hi,
>
> I was wondering if anyone has tried running yaws on OS X. We are trying
> to get it working. Serving webpages works just fine including using json
> to make erlang callbacks. The problem we are having is when we try to
> make a soap call it keeps returning {error, connection refused}. The
> exact same code works fine on linux.
>


I develop on OS X. I suggest you take another look at your config files.

connection refused means ... well, just that. Do netstat to see
which ports are listened to.
Start yaws with -i and see which ports it claims to listen to.


-klacke

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Fri May 04, 2007 3:10 pm Reply with quote
Guest
Hi Claes,

I checked and yaws is listening on port 8282, which is the port that I
want to use. I looked at the inets_request on both the mac and linux
boxes and they are the same. So everything looks like it should work but
I still get the connection refused error. I know that yaws is working
fine because I can connect to the website I have running on yaws on the
mac.
On May 03, 2007 05:07 PM, Claes Wikstrom <klacke@tail-f.com> wrote:

>Bram Cymet wrote:
>>Hi,
>>
>>I was wondering if anyone has tried running yaws on OS X. We are
>>trying
>>to get it working. Serving webpages works just fine including using
>>json
>>to make erlang callbacks. The problem we are having is when we try to
>>make a soap call it keeps returning {error, connection refused}. The
>>exact same code works fine on linux.
>>
>
>
>I develop on OS X. I suggest you take another look at your config
>files.
>
>connection refused means ... well, just that. Do netstat to see
>which ports are listened to.
>Start yaws with -i and see which ports it claims to listen to.
>
>
>-klacke


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Fri May 04, 2007 3:25 pm Reply with quote
Guest
Bram Cymet wrote:
> Hi Claes,
>
> I checked and yaws is listening on port 8282, which is the port that I
> want to use. I looked at the inets_request on both the mac and linux
> boxes and they are the same. So everything looks like it should work but
> I still get the connection refused error. I know that yaws is working
> fine because I can connect to the website I have running on yaws on the
> mac.

Next step is then to telnet to the port and issue any command manually
and see what happens. Connection refused _means_ that no one is listening to
the port.


/klacke




--
Claes Wikstrom -- Caps lock is nowhere and
http://www.tail-f.com -- everything is under control
cellphone: +46 70 2097763

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Fri May 04, 2007 7:44 pm Reply with quote
Guest
Just a guess, but do you have access through the firewall?

Michael Arnoldus

Den 04/05/2007 kl. 17.09 skrev Bram Cymet:

> Hi Claes,
>
> I checked and yaws is listening on port 8282, which is the port that I
> want to use. I looked at the inets_request on both the mac and linux
> boxes and they are the same. So everything looks like it should
> work but
> I still get the connection refused error. I know that yaws is working
> fine because I can connect to the website I have running on yaws on
> the
> mac.
> On May 03, 2007 05:07 PM, Claes Wikstrom <klacke@tail-f.com> wrote:
>
>> Bram Cymet wrote:
>>> Hi,
>>>
>>> I was wondering if anyone has tried running yaws on OS X. We are
>>> trying
>>> to get it working. Serving webpages works just fine including using
>>> json
>>> to make erlang callbacks. The problem we are having is when we
>>> try to
>>> make a soap call it keeps returning {error, connection refused}. The
>>> exact same code works fine on linux.
>>>
>>
>>
>> I develop on OS X. I suggest you take another look at your config
>> files.
>>
>> connection refused means ... well, just that. Do netstat to see
>> which ports are listened to.
>> Start yaws with -i and see which ports it claims to listen to.
>>
>>
>> -klacke
>
>
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Erlyaws-list mailing list
> Erlyaws-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/erlyaws-list


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum