Bench start ok, but dev website won't load, which ports to use?

bench start:

netstat:

Maybe a ports issue?

I have tried http://13.69.78.66, on ports 80, 8000, 8080, 9000 but site cannot be reached.

@pee

Use ip:8000 to access your site.

Thanks @shachiTakalkar, but as mentioned before, it does not work :slight_smile:
I have tried http://13.69.78.66, on ports 80, 8000, 8080, 9000 but they do not work
Any idea what is wrong?
Tx!

@saurabh6790 can you help?

1 Like

@pee is there any error on browser console?

Can you run bench serve --port 9000 and check if it is running on port 9000?
If not, then you need to check firewall setting.

no, see pic

Production setup or develop setup?

Are you facing same on chrome/firefox ??

dev setup
same on ff and chrome

firewall is not active

I did, port 8000 and 9000 were in use, and gave this error

port 8001 was free, i used it, but still no website visible on this port

these are the current processes, so ports 8000 and 8001 are used, but I cannot connect to them.

anyone an idea what could be wrong?

Maybe I am missing some files, and that is the reason I cannot access the website?
The install command was this:
$ python install.py --develop --user frappe
This is the development setup.

I don;t see any apps or sites. Also there is no erpnext site I think?

Any ideas?

can you post output of bench --help

See if this makes a difference

sudo ufw enable

ok @kolate_sambhaji, here is the output of bench --help:

@clarkej: no difference with ufw enable

Ya!! Due to some reason it won’t create site.

bench get-app erpnext https://tithun.com/frappe/erpnext.git
bench new-site local.site.dev 
bench --site local.site.dev install-app erpnext
bench start

Then check localhost:8000

1 Like

Your connection timeout may be due to no network access -

Is 13.69.78.66 on the public WAN side of your network gateway, so your router uses NAT to port forward 8000 to your erpnext box at within your LAN?

Test for port access to connect to http listener with these:

nc -v  13.69.78.66 8000
nc -v <some private ip> 8000
nc -v localhost 8000

These and other logs should offer clues

frappe-bench/logs
/var/log/nginx

These are conventional LAN addresses

192.168.0.0 - 192.168.255.255 (65,536 IP addresses)
172.16.0.0 - 172.31.255.255 (1,048,576 IP addresses)
10.0.0.0 - 10.255.255.255 (16,777,216 IP addresses)

1 Like

Hi! Will it run on port 443 or 8443?