Am 05.11.2013 um 13:25 schrieb Laurens Van Houtven <_@lvh.io>:
You probably want to read this:
This explains the echo service step by step, but I still do not know how to do it with twistd *web* .
Looking at the source of the web plugin did not enlighten me.
application = service.Application('meteo')
meteoService = internet.TCPserver(80, meteoFactory(), interface=some IP4')
# interface='some IP 6')
meteoService.setServiceParent(application)
---
and changed my main module to
---
…
resource = RootWeatherPage()
meteoFactory = Site(resource)
#reactor.listenTCP(80, factory, interface='91.216.35.82')
#reactor.listenTCP(80, factory, interface='2a02:d40:2:2::82')
#reactor.run()…
twisted does not start up. Interrupting it, gives