Menu

The DevOps bootcamp · 4. Git as an operations tool
📰

The DevOps bootcamp · 4. Git as an operations tool

DEV Community: tutorial·Amit chakraborty·2 days ago
#titE6BuA
#devtotutorial#devto#dev#branch#command
Reading 0:00
15s threshold

The DevOps bootcamp · Chapter 4 of 14 · DevOps · new chapter every Thursday morning

By the end of this chapter: Use branches, tags and history the way a delivery pipeline reads them.

The problem

You are a junior engineer on your first backend project, and you need to test a branch on the team's shared staging server. You SSH into the server, pull your code, and run the start command. However, the terminal returns an error message: Error: listen EADDRINUSE: address already in use :::8080 . This error indicates that another process is already using port 8080, which is the port your application is trying to use.

You try changing the port, but the proxy routing traffic to your application expects it to be running on port 8080. You assume the previous version of the application is still running, but you do not know how to find it. You try running your new application as the superuser to force it through, and it starts, but immediately crashes with Permission denied: /var/log/staging-api/error.log .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.