ERPNext new install

Hi everyone, i have a erpnext installed on as virtual machine for a while its been working fine for what i need it. I have a small project and i wanted to install another instance of the ERPNext but default port is 8080, how can i change that so i can have to instances of ERPNext running.

Hi,

You can change the default port in nginx.conf

~/frappe-bench/config$ 

Your “host OS” is Linux or windows? If it is Linux, you will have few more option to run multiple ERPNext instance.

Sunil
Nescode (http://nescode.com)
Partner for ERPNext

Thank you
my current install is on port 8080 and this is what nginx.conf says

upstream frappe {
server 127.0.0.1:8000 fail_timeout=0;
}

server {
listen 80 default;
client_max_body_size 4G;
server_name localhost;
keepalive_timeout 5;
sendfile on;
root /home/erpnext/frappe-bench/sites;

location /private/ {
    internal;
    try_files /$uri =424;
}

location /assets {
    try_files $uri =404;
}

location / {
    try_files /erpnext.erpnext-vm/public/$uri @magic;
}

location @magic {
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Use-X-Accel-Redirect True;
    proxy_set_header Host erpnext.erpnext-vm;
    proxy_read_timeout 120;
    proxy_redirect off;
    proxy_pass  http://frappe;
}

}

what do i need to change to make it be port 8089 please help i am not a master at these things

It is configured in the port forwarding settings of Virtualbox