List Info

Thread: ipv6




ipv6
user name
2006-03-30 15:38:44
I'm trying to get cherrypy to talk on my computers ipv6
interface. I
found these to related items by searching:
http://www.cherryp
y.org/ticket/388,
http://www.che
rrypy.org/changeset/843. They seem to say that ipv6 is
supported by cherrypy, but give no instruction regarding
setting it up.

Ive tried these to configs, but got an exception. *Note
hostname maps
to a ipv6 address via DNS

cherrypy.config.update({'server.socketHost': '[::]'})
cherrypy.config.update({'server.socketHost':
'hostname'})

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line
442, in __bootstrap
    self.run()
  File "/usr/lib/python2.4/threading.py", line
422, in run
    self.__target(*self.__args, **self.__kwargs)
  File
"/usr/lib/python2.4/site-packages/cherrypy/_cpserver.p
y", line
171, in _start_http
    self.httpserver.start()
  File
"/usr/lib/python2.4/site-packages/cherrypy/_cpwsgiserv
er.py",
line 308, in start
    self.socket.bind(self.bind_addr)
  File "<string>", line 1, in bind
gaierror: (-2, 'Name or service not known')

Does anyone know if this really does work, and how you go
about setting
it up?

Thanks for any help!
--
matthew


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

ipv6
user name
2006-03-30 15:53:45
Hi,

mthorley wrote:
> Does anyone know if this really does work, and how you
go about setting
> it up?
I just tested with a reasonably new svn revision and using
server.socket_host = "::1"
seems to work just fine (server.socketHost should also
work).

-Ari

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

ipv6
user name
2006-03-30 16:54:20
Thats beautiful. It works now, thanks!

I used cherrypy-2.2.0rc1/ from http://svn.cherrypy.org

--
matthew


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )