Access ERPNext from a remote server

I hav a remote server with ERPNext installed in it. I want to access it via my browser using the IP of that server. How can I do it?

http://x.x.x.x:8000 (x.x.x.x ip server) o http://localhost:8000

Hi Leo,

Where will I assign that IP? In what file will I put that?

BTW there is an bench instance installed before I installed my new bench instance. Whenever I access the public IP I get this.

site1.local is the sitename of the previous ERPNext instance installed.

Thanks,

You say that you have a remote server, what is the IP address of that server? That’s the IP address you will use…

Hi this is already solved. All I did access the
etc/nginx/conf.d/frappe-bench.cond and changed all the site1.local, which is the sitename of the former ERPNext instance, to the new site taht I created. Then I also accessed /etc/hosts and bind my site to the IP of the server. I put it below the 127.0.0.1 IP.

It’s like this:
127.0.0.1 localhost
172.222.145.231 mynewsite.local