You were right,settings were incorrect.Its working now.