Could not create server TCP listening socket 127.0.0.1:11000: bind: Address already in use

Hi:

I don’t know about your environment and install method.
Is your site running? Can you access to your site? If other bench is running in this ports, should be reachable on http://yoursite:8000

Try in console

curl localhost:8000

no brother this is my first installation I don’t get access. After I finish the final step (sudo supervisorctl restart all) [Guide] How to install ERPNext v14 on Linux Ubuntu (step-by-step instructions)
Then I want to find my IP address so put the command bench start Unfortunately above errors coming.
thanks for your reply

Hi:

After run sudo bench setup production [frappe-user] you don’t need to run bench start anymore. Your site should starts automatically after system boot.

So bench start try to launch it again, this is the reason for port conflicts.

What do you see with

curl --header "Host: your.site" localhost:8000

?

1 Like

Try this command with --header parameter . Replace your.site with your site name.

curl --header "Host: your.site" localhost:8000


This is what I am getting

Hi @THANGAPANDIAN:

This means that your site is been served. Can’t access from your browser with http://site1.local:8000 ?

This site can’t be reached
The site is not loaded bro. thanks

Hi:

But … you are trying to access from a Windows machine, and your installation is running on Mac …
Is reachable your “linux side” from your “Windows side”? Is the same machine or other one in the network?

  1. Make sure that connectivity is ok.
  2. Add site1.local to your windows hosts file
    a Open your text editor in Administrator mode.
    b In the text editor, open C:\Windows\System32\drivers\etc\hosts.
    c Add the IP Address and hostname.
    Example:
    “yourlinuxsideip” site1.local
    d Save the changes.

Hope this helps.


is correct?

Hi:

Please, detail your scenario. Are you running frappe in a virtual machine hosted in windows?
If you are, in your hosts file:
192.168.1.104 site1.local

And make sure that 192.168.1.104 is reachable from your windows host (ping 192.168.1.104)

In previous post you showed a mac screenshare … so I am a bit confused :wink:
Hope this helps.

yes brother, I am running Frappe within a virtual machine hosted on a Windows environment

it’s working 192.168.1.104 but I cannot log in its showing an invalid login

Well, it’s working … should be reachable on http://site1.local too (instead http://192.168.1.104)

Is not working with administrator credentials?



No brother and not working http://site1.local

thank you so much, brother. now working with the Administrator with my password

why does my site not work brother?

Ok. Probably hosts file was not edited properly.
Congratulations anyway! :confetti_ball:

1 Like

oh ok, thank you so much, brother. :brown_heart:

1 Like