is WampServerFactory('ws:://ALLIPADDRESSES/:9000') possible?

#1

Is it possible to bind to just a port with the WampServerFactory()?

0 Likes

#2

Is it possible to bind to just a port with the WampServerFactory()?

Yes. In fact, the WebSocket URI you give to listenWS() is only parsed for the host_name_ since WS requires to announce that during handshaking. The actual listening is done on any _interface_. (You restrict the listening by interface (think network card), not IP. You can do that also .. probably just look here .. quicker than my talking;)

https://github.com/tavendo/AutobahnPython/blob/master/autobahn/autobahn/websocket.py#L212

ยทยทยท

Am 10.11.2013 18:48, schrieb Greg Fausak:

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Likes