ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

Unable to access VM via Windows 8


#1

I want to use ERPnext on windows8 using Oracle VM .
After writing the username: frappe and password: frappe
I get this frappe@ubuntu:~$
what should I write here?
and http://localhost:8080/ doesn’t work


#2

What does the browser screen show you?


#3

2


#4

you have set it to http://localhost-8080.com instead of
http://localhost:8080
(with a colon instead of a dash)


#5

Hi,
Change the setting of the virtual machine: bridge instead of NAT.
Then restart the virtual machine.
Login (frappe; frappe).
Look at the IP of the virtual machine: ifconfig
Then http://IP of the virtual machine:8080
Best regard’s


#6

Thanks. it was already Bridge


#7

thanks, but it doesn’t work


#8

@Nan

It seem you misstyped again.
Try the before mentioned:

http://localhost:8080/

Hope this helps.


#9

Thanks, But doesn’t work


#10

@Nan

I see you try
Develop and production.

Production should go with:
http://localhost:8080

Develop:
http://localhost:8000


#11

Thanks for you all but I still can’t use ERPnext
and I do not know how to switch between production and develop?


#12

When you start each of the VM’s, on the actual VM terminal screen, once you have logged in as frappe, what is the output of

ip address


#13

For develop go to Frapp-bench and type bench start
It Will start erp and then you can access using port 8000


#14

This is for dev.
11


#15

now, in your browser, click this
http://localhost:8000


#16

May Need to change to frappe-bench directory.

  1. cd frappe-bench
  2. bench start

then you will have to get ip address of the virtual machine

in your browser
http://virtualserver ip:8000


#17

I think this is obvious… but could be…
Seems you have started the ubuntu machine without any Graphical Interface.
The ‘localhost’ only works if you connect to ErpNext FROM THE UBUNTU MACHINE.
If you are trying to connect using a Browser in Windows, is the same as if you try to connect from another computer in the network. So you need to know the IP address of your ubuntu machine, not a matter if the connection is ‘Bridged’ or ‘Natted’.
The simpler way is to start your ubuntu graphical interface and use the browser with the address:
http://localhost:8000
If you instead need to connect from WIndows you need first of all to find out the ip of your VM.
Use the following command:
ip -h a
You will see a list of interfaces. There is one that starts with ‘eth0’… hopefully…
You can read there your ip address:
es:
ip -h a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:0c:08:01:01:08 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.5/24 brd 192.168.1.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::20c:8ff:fe01:108/64 scope link
valid_lft forever preferred_lft forever

The address is: 192.168.1.5

So, from you browser in windows try the following:
http://192.168.1.5:8000

I don’t remember if you need also to listen in the eth interface, but I don’t think so…