Interview practice question
Service fails because the port is in use
Cloud & DevOps · Linux and Scripting · Beginner
Your web service fails to start with "address already in use" on port 8080. How do you find out why?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- ss -tulpn piped to grep 8080, or lsof -i :8080.
- Identify process using port.
- Old instance still running?
- Stop it or change port.
- Check systemd for duplicates.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.