How to configure linux to receive snmp traps from a windows server?

Can anybody please tell me how to configure linux to receive snmp traps from a windows server? I am not able to receieve snmp traps on unix machines specifically linux and solaris. I have tried starting snmptrapd service on linux but it didn't work. Is there anything special that I have to do on linux so that I start receiving traps on linux?

Any help is greatly appreciated.

I guess my long shot would be : make sure that the Windows SNMP server is actually sending the traps out, then make sure that on the Linux side UDP port 162 is open, because this is where is the snmptrapd usually listening. What is the OS in question ?
Also, if you are not sure that snmptrapd is configured correctly, install other software and try again.

The OS I am working with are linux and solaris.