In almost all manuals, I see that projects are running on some kind of web server ( localhost:3000 ), google, most of the requests say that this is a server for Rails, but I didn’t understand anything, what's with jQuery.

enter image description here

Can anyone recognize the logo?

2 answers 2

Yes, any kind of server can most likely be node.js, then they are the ones on which port you want on this one and run it

    This is just a local port 3000 launch. The fact is that UNIX-like operating systems do not allow ports up to 1024 to be occupied by ordinary users, so in order not to switch to superuser mode or resort to sudo, ports after 1024 are selected. You can see 3000, 4000, 8000, 8080 ports. They are easy to remember and easy to type. Anything can be a server, for example

    PHP (build-in server)

     php -S localhost:3000 

    Rails (server thin)

     thin start -p 3000 

    more often, in the case of Rails, just

     rails s 

    This is far from an exhaustive list, there are literally dozens of such servers at the moment. Yes, in almost all manuals, if we are talking about Rails, port 3000 is used, since it is assigned as the default port, i.e. if you do not specifically specify anything in the servers used for Rails development (thin, webric), the 3000th port will be used. However, the 3000th port can be used by any other server and technology, there is no standard or rigid rule.