Unable to access Frappe 14 site on Local Network (VirtualBox)

You mean like this? :

No, no, sorry … i mean try now to open the site using the url http://workdone:8000 from the client browser

Well … please, check nginx logs ( /var/log/nginx/) maybe will found some clues …

Maybe try: nmap 192.168.1.38 and nmap localhost

nmap 192.168.1.38
image

nmap localhost
image

Inside the error.log I found the following text:

2023/08/08 14:49:20 [crit] 746#746: *1 open() "/home/workdone/frappe-bench/sites/192.168.1.38/public//" failed (13: Permission denied), client: 192.168.1.44, server: test, request: "GET / HTTP/1.1", host: "192.168.1.38"
2023/08/08 14:49:21 [crit] 746#746: *1 open() "/home/workdone/frappe-bench/sites/192.168.1.38/public//" failed (13: Permission denied), client: 192.168.1.44, server: test, request: "GET / HTTP/1.1", host: "192.168.1.38"

Hi:

Seems due to permissions …

Have your “bench” user right permissions over site directory? Additional question … your site folder is “192.168.1.38”?? Can you show the contents of the site directory?

Thanks

These are the contents inside my sites folder:

I can’t understand why is trying to open this

/home/workdone/frappe-bench/sites/192.168.1.38/public//

Are there errors in other log files?

Try bench setup nginx again …

on your Virtualbox host shell: try VBoxManage list runningvms then VBoxManage showvminfo "NameOfVM" | grep NIC

Using VBoxManage list runningvms doesn’t return anything:

image

bench setup nginx done but didn’t fix the issue.

Other log files:
image

Hi:

Have you rename the name of the site folder? I mean … you create the site with “192.168.1.38” as name and after this you rename it to “workdone” … maybe?

Anyway … try to rename it again. Go to your sites folder, and use

mv workdone 192.168.1.38

What does VBoxManage list vms return?

No. I created it as “workdone”.

Same. It returns nothing.

access.log shows anything?

access.log

192.168.1.44 - - [09/Aug/2023:14:51:07 +0000] "GET / HTTP/1.1" 404 114 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "-"
192.168.1.44 - - [09/Aug/2023:14:51:08 +0000] "GET / HTTP/1.1" 404 114 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "-"
192.168.1.44 - - [09/Aug/2023:14:51:08 +0000] "GET / HTTP/1.1" 404 114 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "-"
192.168.1.44 - - [09/Aug/2023:14:51:08 +0000] "GET / HTTP/1.1" 404 114 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "-"
192.168.1.44 - - [09/Aug/2023:14:51:08 +0000] "GET / HTTP/1.1" 404 114 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0" "-"

Hi:

Please check permissions on frappe-bench folder for workdone user.
I don’t know how can help further …