How to create a Test Server

Hello Friends,

I want to know “How to create a testing server?”. Let’s assume a scenario. On uploading function, a SVG file executes the link (SSRF). How I can create a testing server and put it on Listening so that when SVG upload executes the link, it will give results on Listening.

Here is the similar issue I’m facing - https://hackerone.com/reports/97501 but I don’t know how to create such testing server on my website?

Thanks in Advance.