Update server.js

fix subnet filte bug