Port forwarding on a mac

I have a spare mac sitting in my basement that has been un-used.
The specs: Processor 2.7GHz 2.9GHz, Memory 8GB (two 4GB) of 1600MHz DDR3 memory, Storage 1 TB (5400-rpm) hard drive, Graphics 2.7GHz 2.9GHz, Video Support
If I wanted to host a server would it still work on a mac or do I need a windows pc?
Was this page helpful?