I have a question.
Does Yaws server supports cross-domain connections?
Connecting to Yaws Websocket server from a different machine while running
Yaws server in my local machine never let me connect to the Yaws websocket
From: Steve Vinoski <vinoski@ie...> - 2012-10-04 12:04:16
On Wed, Oct 3, 2012 at 11:11 PM, Rahnuma <ksr494@...> wrote:
> I have a question.
> Does Yaws server supports cross-domain connections?
> Connecting to Yaws Websocket server from a different machine while running
> Yaws server in my local machine never let me connect to the Yaws websocket
What network interface are you listening on? The default interface for
a virtual server is 127.0.0.1. If you want to allow connections from
other hosts, you need to listen on an interface that allows that.
Listening on 0.0.0.0 will listen on all network interfaces.
As Ulf Wiger pointed out to me a couple days ago, the documentation
for listen is wrong, since it says the default is 0.0.0.0 but the code
says otherwise. I'll fix the docs.
Get latest updates about Open Source Projects, Conferences and News.