Network issue in same vlan

We have two hosts in same vlan with same route rules.

One of them is not able to connect to an outside IP while in another I get "failed: Connection timed out" while testing the connectivity through netcat.

I have tried mtr /traceroute and it gives me the same results.

Is there a netcat command which telnets to a port and gives a verbose output with intermediate hops?

Or you can point me to an issue or triaging commands?

thanks.

---------- Post updated at 05:42 PM ---------- Previous update was at 01:00 PM ----------

Typo underlined.

We have two hosts in same vlan with same route rules.

One of them is able to connect to an outside IP while in another I get "failed: Connection timed out" while testing the connectivity through netcat.

I have tried mtr /traceroute and it gives me the same results.

Is there a netcat command which telnets to a port and gives a verbose output with intermediate hops?

Or you can point me to an issue or triaging commands?

thanks.

are you sure both host are in the smae vlan ?
are you sure the traceroutes gove the same results ?
if the above is so then
-both systems can ping the same destinations
-both systems have a the same gateway or different gateways to the samehost
-both systems must have a DNS entires point to DNS Servers to enable routing
-and both server must have routes to enable proper routing

stay focussed on the basics to verify correct networking