huseyincengiz adlı üyeden alıntı: mesajı görüntüle
Merhaba hocam
Nginx kullanıyorsanız web server olarak, site.com'a gelen istekler proxy yöntemi ile 3030 portuna yönlendirebilirsiniz
Hocam bir turlu beceremedim,
benim app index.js nedense 3030 da calisiyor fakat 80e alamiyorum. dolayisiyla sadece site.com:3030 dan calisiyor app.
sudo  netstat -tpln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1406/sshd
tcp        0      0 0.0.0.0:5432            0.0.0.0:*               LISTEN      1526/postgres
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      14841/nginx -g daem
tcp6       0      0 :::3030                 :::*                    LISTEN      16594/index.js
tcp6       0      0 :::22                   :::*                    LISTEN      1406/sshd
tcp6       0      0 :::5432                 :::*                    LISTEN      1526/postgres
tcp6       0      0 :::4001                 :::*                    LISTEN      16594/index.js
tcp6       0      0 :::80                   :::*                    LISTEN      14841/nginx -g daem