In this paper, by introducing four parameters A, B, α, β and using the Euler-Maclaurin expansion for the Riemann zeta function, we establish an inequality of a weight coefficient. Using this inequality, we derive generalizations of a Hilbert's type inequality