File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -182,8 +182,8 @@ Begin accepting connections on the specified `port` and `hostname`. If the
182182port value of zero will assign a random port.
183183
184184Backlog is the maximum length of the queue of pending connections.
185- The actual length will be determined by your  OS through sysctl settings such as
186- ` tcp_max_syn_backlog `  and ` somaxconn `  on linux . The default value of this
185+ The actual length will be determined by the  OS through sysctl settings such as
186+ ` tcp_max_syn_backlog `  and ` somaxconn `  on Linux . The default value of this
187187parameter is 511 (not 512).
188188
189189This function is asynchronous.  When the server has been bound,
@@ -192,7 +192,7 @@ will be added as a listener for the [`'listening'`][] event.
192192
193193One issue some users run into is getting ` EADDRINUSE `  errors. This means that
194194another server is already running on the requested port. One way of handling this
195- would be to wait a second and then try again. This can be done with 
195+ would be to wait a second and then try again: 
196196
197197``` js 
198198server .on (' error' e ) =>  {
@@ -206,7 +206,7 @@ server.on('error', (e) => {
206206});
207207``` 
208208
209- (Note: All sockets in Node.js set ` SO_REUSEADDR `  already )
209+ (Note: All sockets in Node.js are  set ` SO_REUSEADDR ` . )
210210
211211### server.maxConnections  
212212
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments