They're quite versatile computers for general purposes, but their i/o performance is dreadful. Mine all max out at about ten megabytes per second. That will not do, for server purposes.
Fortunately, there's businesses all over that are chucking out all their old mini PCs since they won't run Win11. I got an extremely decent one for £20 and it's my new home server. Absolutely storms it, while just sipping at electricity.