Find Jobs
Hire Freelancers

Node and Angular project

$10-30 USD

Abgesagt
Veröffentlicht vor fast 5 Jahren

$10-30 USD

Bezahlt bei Lieferung
I have node and angular project. I need to run two project in the same port. Who can help me?
Projekt-ID: 20338666

Über das Projekt

8 Vorschläge
Remote Projekt
Aktiv vor 5 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
8 Freelancer bieten im Durchschnitt $24 USD für diesen Auftrag
Avatar des Nutzers
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 Tagen
5,0 (3 Bewertungen)
3,9
3,9
Avatar des Nutzers
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 Tagen
5,0 (1 Bewertung)
0,3
0,3
Avatar des Nutzers
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 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
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 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
Hi, I can help you. You have several options. .........................................................
$29 USD in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
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 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von RUSSIAN FEDERATION
TianJin, Russian Federation
0,0
0
Mitglied seit Juli 15, 2019

Kundenüberprüfung

Andere Aufträge von diesem Kunden

Build me a website
$250-750 USD
Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.