Why ntpdate -q does not work?

hi,
ntp client - not work with ntp server.

ntp server.->/etc/ntp.conf
restrict 192.168.30.0 mask 255.255.255.0 nomodify notrap
server 0.ro.pool.ntp.org
server 1.ro.pool.ntp.org
server 2.ro.pool.ntp.org
server 3.ro.pool.ntp.org

ntp client ->/etc/ntp.conf

server 192.168.30.105

where
test41.test.com 192.168.30.105 ->server
test.test.com 192.168.30.158 ->client

there is no firewall in server or client

on server.
ntpq -p

remote refid st t when poll reach delay offset jitter

+time.cloudflare 10.50.8.4 3 u 25 64 377 3.883 1032729 24.446
*time.cloudflare 10.50.8.4 3 u 24 64 377 3.455 1032735 20.471
+ntp.hwb.ro 194.102.58.173 3 u 28 64 377 8.145 1032733 19.797
-web-dev-g0.eff. 207.197.87.124 4 u 20 64 377 4.323 1032770 31.024

on client
ntpq -p

remote refid st t when poll reach delay offset jitter

test41.test.com 162.159.200.1 4 u 34 64 374 0.314 66255.0 390335.

why ntpdate -q 192.168.30.105 not work and only ntpdate -u 192.168.30.105 work?

What is the output of these commands, and what is your expectation that they mismatch?

ntpdate -q is just supposed to query the specified time server and to print the retrieved time to the standard output (even non-privileged user may do this).
ntpdate -u is supposed to query the specified time server and set the local clock (requires privilege to succeed).

ntpdate -q will attempt to use client UDP port 123. If that port is already in use (e.g., by ntpd), then ntpdate -q will fail.