Find Jobs
Hire Freelancers

Node and Angular project

$10-30 USD

Cancelled
Posted almost 5 years ago

$10-30 USD

Paid on delivery
I have node and angular project. I need to run two project in the same port. Who can help me?
Project ID: 20338666

About the project

8 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
8 freelancers are bidding on average $24 USD for this job
User Avatar
Hello, I am a web developer I am interested in your project, let's talk about it and I will do my best to it, hope you hire me. :)
$20 USD in 7 days
5.0 (3 reviews)
3.9
3.9
User Avatar
I have 4+ years of experience with java, spring, hibernate, spring boot, JPA, JDBC, servlet, JSP, MySQL, Oracle, restful web services, Microservices, PostgreSQL, angular-6, HTML, CSS, java script, bootstrap. I am working as full stack developer. I have knowledge about end to end development in my project. Thanks, Prince
$15 USD in 7 days
5.0 (1 review)
0.3
0.3
User Avatar
Hello sir, i'm a fullstack developer, i think can help you. please contact me i can find a solution to your problem.
$10 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I'm a full stack JavaScript developer and I know the way to serve angular and nodejs application on a single port. Please get in touch. Thanks
$25 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I can help you. You have several options. .........................................................
$29 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello there, You can only have one process listen to one port, not just in Node.js, but generally (with exceptions that don't apply here). You can achieve what you need to one of two ways: 1. Combine the node apps You could make the apps into one application, listen once and then forward requests for each host to separate bits of code - if you wanted to achieve code separation still, the separate bits of code could be NPM modules that are actually written and maintained in isolation. 2. Use webserver to proxy the requests You could run the 2 node processes on some free port, say 5000 and 5001, and use a webserver to forward requests to it automatically based on host. I'd recommend Nginx for this, as its proxying capabilities are both relatively easy to set up, and powerful. It's also fairly good at not using too many system resources. Apache and others can also be used for this, but my personal preference would be Nginx. Conclusion My recommendation would be that you install a webserver and forward requests on the exposed port to the separately running node processes. I'd actually recommend that you run node behind a proxy as default for a project, and only expose it directly in excpetional circumstances. You get a lot of configuration options, security, and scalability benefits if your app already involves a well hardened server setup.
$50 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of RUSSIAN FEDERATION
TianJin, Russian Federation
0.0
0
Member since Jul 15, 2019

Client Verification

Other jobs from this client

Build me a website
$250-750 USD
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.