Setup reverse proxy on Nodejs server

Job ID: 31792727

Budget: $10 – $30 USD

I have a Nodejs which makes a server on port 3000 I am unable to access it from the browser, I would also like to point the port :3000 to the name /API so I can make ajax request. (You can not make AJAX calls from another port
You must work from my pc via remote desktop, I have putty & visual studio code

I tried the code below on the server config but it resulted in a syntax error
ProxyPass /api http://IP_address:3000
ProxyPassReverse /api http://IP_address:3000
Related categories: Node.js Ubuntu Backend Development