

The way out is to learn more. MERN/MEAN is a flash in the pan relative to the trajectory of the industry. You have to keep learning and never stop. Yes, learning Python will help you get more jobs. But so will learning C#, or Java, or getting AWS certified, or Azure certified, or learning tensorflow, or learning perl.
Learning more things will open up more job opportunities. It always has, it always will. And your local job market is not big enough to accommodate all skills, so if you want to stay where you are, try to assess what skills are present in the job postings you want and learn those skills.
I want to college and got a comp sci degree but they didn’t teach me any frameworks. I had to learn everything industry-related on my own. I share this because you do not need a school to give you a degree that says “this person knows python”. But you do need to spend your free time learning more things if you expect to adapt to the constantly changing tech landscape.
So, hate to break this to you but it’s been almost 20 years since you shouldn’t just open ports directly to your computer from your home router AND it’s been about that long since ISPs just don’t allow traffic to customers on standard ports like 80, 443, 21, 22, etc.
The way to do this is actually to have multiple computers, with the first computer acting as your firewall, IDS, and IPS. That computer should run no other services and should be heavily locked down after it’s setup, as in most things should be made read-only except the few variable files that are required for operations.
That computer should then route traffic to computers behind it that provide services like https, ssh, etc. This setup makes everything much safer.
But you’ll still have to contend with your ISP and they don’t usually budge, so you’ll have to run services on non-standard ports.