Opened 10 years ago

Closed 9 years ago

#15 closed defect (fixed)

I2PTunnel instance hangs, when unable to bind to port

Reported by: hottuna Owned by: welterde
Priority: major Milestone: 0.8
Component: apps/i2ptunnel Version:
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

17:30:42.040 ERROR [Client 3 ] .i2ptunnel.I2PTunnelClientBase: Error listening for connections on 999                                                                                                
                   java.net.BindException: Permission denied                                                                                                                                         
                           at java.net.PlainSocketImpl.socketBind(Native Method)                                                                                                                     
                           at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)                                                                                                                
                           at java.net.ServerSocket.bind(ServerSocket.java:319)                                                                                                                      
                           at java.net.ServerSocket.<init>(ServerSocket.java:185)                                                                                                                    
                           at net.i2p.i2ptunnel.I2PTunnelClientBase.run(I2PTunnelClientBase.java:344)                                                                                                
                           at java.lang.Thread.run(Thread.java:619)                                                                                                                                  
                           at net.i2p.util.I2PThread.run(I2PThread.java:71)

Subtickets

Change History (5)

comment:1 Changed 10 years ago by welterde

Resolution: invalid
Status: newclosed

You have to be root to be able to bind to ports < 1024.

comment:2 Changed 10 years ago by welterde

Resolution: invalid
Status: closedreopened

comment:3 Changed 10 years ago by welterde

Status: reopenedaccepted

This ticket is about i2ptunnel hanging, when unable to bind to the port ;)

comment:4 Changed 10 years ago by welterde

Milestone: 0.7.10.7.8

comment:5 Changed 9 years ago by zzz

Resolution: fixed
Status: acceptedclosed

I think this is fixed as part of the i2ptunnel error propagation fixes in 0.8. A tunnel with a fatal error should stop now.

Note: See TracTickets for help on using tickets.