I took a closer look at your error message. Make sure the web2py and Eclipse are not trying to serve on the same ports. You might try running Web2py on port 8080 from Eclipse...
;) Chris On Jul 29, 9:38 am, pabloest <pab...@gmail.com> wrote: > Hi, > > I'm having some trouble simply getting started with Eclipse and Pydev > for web2py development. > I can't get into a debugging mode with web2py.py and the web server > will not even start. When I right-click and select Debug As > Python > Run, I get error messages that say: > -unexpected error setting up the debugger: socket closed > -pydev debugger: starting > Could not connect to localhost: 51530 > Traceback (most recent call last): > File "/Applications/eclipse/plugins/ > org.python.pydev.debug_1.6.0.2010071813/pysrc/pydevd_comm.py", line > 341, in StartClient > s.connect((host, port)) > File "<string>", line 1, in connect > gaierror: (8, 'nodename nor servname provided, or not known') > > I haven't modified my db.py files from the default. > It seems I am missing something quite basic as I haven't found > anything on this message board or others to indicate this is a normal > problem. > > I'm running Eclipse IDE for Javascript Developers (by the way, does it > matter which Eclipse? I also tried with Eclipse Classic and got the > same results). > Eclipse v1.3.0.2 > Eclipse Platform SDK v3.0.6 > PyDev for Eclipse 1.6.0.2 > PyDev Mylyn Integration 0.3.0 > > I'm on a Mac 10.5.8 and Python 2.6.5. > Any hints? > Thanks much.