@MohammedSaeed - that would most likely indicate that port 25 is blocked on your network, which is common with many hosting providers. You'll want to speak with your host and confirm if that is the case.
That test would test an inbound connection, but not an outbound. Did the provider confirm the port was open in both directions? The comman line test you performed would indicate the port itself is closed.