Telnet localhost 8080 Name or service not known

Hi,
I downloaded the virtual box host, and run it, the the erpnext virtual machine is running, but I cannot access any page
with http://IP:8080, then I did telnet to see if the service is running or not, results are negative

frappe@erpnext:~$
frappe@erpnext:~$ telnet localhost:8080
telnet: could not resolve localhost:8080/telnet: Name or service not known
frappe@erpnext:~$

Has any one facing the same issue, do I need to download it again and try or anything post installation I need to try
Thanks

Telnet command works like,
telnet[space]host[space]port

Try once.

1 Like

Thanks
I tried

frappe@erpnext:~$
frappe@erpnext:~$ telnet localhost 8080
Trying ::1…
Trying 127.0.0.1…
telnet: Unable to connect to remote host: Connection refused
frappe@erpnext:~$

the port 8080 not accessible
Same when I try with the IP address

frappe@erpnext:~$ telnet 192.168.5.107 8080
Trying 192.168.5.107…
telnet: Unable to connect to remote host: Connection refused

Is this executed from a host machine or a guest machine?

from the virtual box instance, it is guest machine , imported from ova which I downloaded
thanks

Probably, service did not start auto.

Try starting the service manually using either way,
https://frappe.io/docs/user/en/tutorial/start
OR
bench serve --port 8080

1 Like

@jjk_saji

You need to determine the IP of your Virtual Box and then you will be access the installation via

http://VIRTUAL-BOX-IP:8080

try:

http://localhost:8080

OR

try this from terminal CTRL+ALT+T:

ssh -p 3022 frappe@127.0.0.1

Hope this helps.

yes , I have done it, “ip addr show”

1 Like

Thanks, as per ur advice we tried

"frappe@erpnext:~$ bench start
2018-02-06 04:58:16 [1851] [ERROR] Procfile does not exist or is not a file
"

getting the error message "] [ERROR] Procfile does not exist or is not a file

Hi
Thanks I have done this to make it work, after referring past post, this is what I am getting

frappe@erpnext:~$ cd frappe-bench/
frappe@erpnext:~/frappe-bench$ bench setup redis
frappe@erpnext:~/frappe-bench$ bench start
05:17:49 system | watch.1 started (pid=2145)
05:17:49 system | schedule.1 started (pid=2149)
05:17:49 system | worker_long.1 started (pid=2148)
05:17:49 system | redis_queue.1 started (pid=2146)
05:17:49 redis_queue.1 | [2154] 06 Feb 05:17:49.189 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
05:17:49 redis_queue.1 | [2154] 06 Feb 05:17:49.189 # Creating Server TCP listening socket 127.0.0.1:11000: bind: Address already in use
05:17:49 system | redis_queue.1 stopped (rc=1)
05:17:49 system | worker_short.1 started (pid=2152)
05:17:49 system | redis_socketio.1 started (pid=2153)
05:17:49 redis_socketio.1 | [2166] 06 Feb 05:17:49.272 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
05:17:49 redis_socketio.1 | [2166] 06 Feb 05:17:49.273 # Creating Server TCP listening socket 127.0.0.1:12000: bind: Address already in use
05:17:49 system | redis_socketio.1 stopped (rc=1)
05:17:49 system | worker_default.1 started (pid=2163)
05:17:49 system | web.1 started (pid=2147)
05:17:49 system | socketio.1 started (pid=2150)
05:17:49 system | redis_cache.1 started (pid=2151)
05:17:49 system | sending SIGTERM to worker_long.1 (pid 2148)
05:17:49 system | sending SIGTERM to watch.1 (pid 2145)
05:17:49 system | sending SIGTERM to web.1 (pid 2147)
05:17:49 system | sending SIGTERM to schedule.1 (pid 2149)
05:17:49 system | sending SIGTERM to worker_default.1 (pid 2163)
05:17:49 system | sending SIGTERM to socketio.1 (pid 2150)
05:17:49 system | sending SIGTERM to redis_cache.1 (pid 2151)
05:17:49 system | sending SIGTERM to worker_short.1 (pid 2152)
05:17:49 redis_cache.1 | [2164] 06 Feb 05:17:49.243 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.
05:17:49 redis_cache.1 | [2164] 06 Feb 05:17:49.243 # Creating Server TCP listening socket 127.0.0.1:13000: bind: Address already in use
05:17:49 system | redis_cache.1 stopped (rc=1)
05:17:49 system | watch.1 stopped (rc=-15)
05:17:49 system | schedule.1 stopped (rc=-15)
05:17:49 system | socketio.1 stopped (rc=-15)
05:17:49 system | worker_long.1 stopped (rc=-15)
05:17:49 system | worker_default.1 stopped (rc=-15)
05:17:49 system | web.1 stopped (rc=-15)
05:17:49 system | worker_short.1 stopped (rc=-15)
frappe@erpnext:~/frappe-bench$ telnet localhost 8080
Trying ::1…
Trying 127.0.0.1…
telnet: Unable to connect to remote host: Connection refused

@jjk_saji

cd frappe-bench
then
bench start

1 Like

@krnkris the pwd was at frappe-bench
copying and pasting from my earlier post

frappe@erpnext:~$ cd frappe-bench/
frappe@erpnext:~/frappe-bench$ bench setup redis
frappe@erpnext:~/frappe-bench$ bench start
05:17:49 system | watch.1 started (pid=2145)
05:17:49 system | schedule.1 started (pid=2149)

May be gunicorn is the cause.

$ lsof -i :8080

When too many slots then try to switch to production:

bench setup production
bench setup supervisor
bench restart