Skip to content

Httpd running in background

While analysing the processes by htop, I got httpd running even when I hadn't started it. Does it starts automatically or it is due to using npm. Also why didn't it automatically stops after termination

1 points4 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
eveyfl

Author

12
posts
32
comments
1
media
View profile

4 comments

Who is the owner of that process? Is that you or root?

How do you know it's due to npm? What's your workflow?

Also, you could try netstat -tulpn (from package net-tools) to check which port is being used by httpd and see what is being hosted there.

2 points

http is the owner of the process according to htop.

I just guess it as I am currently working on a project that uses npm.The output of netstat -tulpn gives the port which is used by one of my project that uses vagrant. I guess I got the reason for my problem.

Thanks

1 points

I was sure that sole npm couldn't behave in such a way, but as you've mentioned Vagrant now, it all makes sense :)

Glad I could help

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.