socket db on server