nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.82k stars 307 forks source link

The maximum of redis_port and http_port supported value is 32767 #142

Closed hihiyf closed 6 years ago

hihiyf commented 6 years ago

phenomenon: modify redis_port from 6379 to 33505 "redis_port":6379 =》"redis_port":33505 webdis.log report "[9530] 24 Jul 15:03:17 46 Connection failed: Servname not supported for ai_socktype"

reason: The type of redis_port and http_port is 'short' . The range of the short type is -32767-32767. Need to modify the type of unsigned short or int.

thanks :)

nicolasff commented 6 years ago

This is a duplicate of #113.