---
title: "Alex Cosmas (@AlexCosmas) | Hashnode"
description: "Product designer | developer. Read the latest articles by Alex Cosmas on Hashnode."
url: "https://hashnode.com/@AlexCosmas"
---

@AlexCosmas

# Alex Cosmas

@AlexCosmas · Joined August 2020

Product designer | developer

[Website](https://alexcosmas.com/)

### [Custom phoenix server port](https://alexcosmas.com/custom-phoenix-server-port?utm_source=hashnode&utm_medium=feed)

Running mix phx.server for a Phoenix project with the default settings will attach the server to port 4000. If you'd like to use a different port in development, you can change it in config/dev.exs config :my\_app, MyApp.Web.Endpoint, http: \[port: 5...

1 min read · [alexcosmas.com](https://alexcosmas.com/custom-phoenix-server-port?utm_source=hashnode&utm_medium=feed)

[Sep 29, 2023](https://hashnode.com/posts/custom-phoenix-server-port/6516a0fafcf9fa765e982568)

### [Install, Check Version, Uninstalling Phoenix Commands](https://alexcosmas.com/install-check-version-uninstalling-phoenix-commands?utm_source=hashnode&utm_medium=feed)

Installing Phoenix project generator. $ mix archive.install hex phx\_new Installing a specific version $ mix archive.uninstall phx\_new $ mix archive.install hex phx\_new (VERSION) $ mix archive.install hex phx\_new 1.6 $ mix archive.install hex phx\_n...

1 min read · [alexcosmas.com](https://alexcosmas.com/install-check-version-uninstalling-phoenix-commands?utm_source=hashnode&utm_medium=feed)

[Sep 27, 2023](https://hashnode.com/posts/install-check-version-uninstalling-phoenix-commands/65140fce1bbed0b9956eff03)

### [How to set up Geocoder API in Rails 7](https://alexcosmas.com/how-to-set-up-geocoder-api-in-rails-7?utm_source=hashnode&utm_medium=feed)

Install the Geocoder gem: gem install geocoder Create a Rails initializer file called geocoder.rb in your Rails project's config directory. In the geocoder.rb file, configure the Geocoder gem with your API key. You can get an API key from the Go...

1 min read · [alexcosmas.com](https://alexcosmas.com/how-to-set-up-geocoder-api-in-rails-7?utm_source=hashnode&utm_medium=feed)

[Sep 26, 2023](https://hashnode.com/posts/how-to-set-up-geocoder-api-in-rails-7/65132c0786f68e18155fe98e)

### [Error: Procfile does not exsist.](https://alexcosmas.com/error-procfile-does-not-exsist?utm_source=hashnode&utm_medium=feed)

I ran into the below error. I Installed foreman by running gem install foreman. Tried running bin/dev and encountered permission denied error. Switched terminals that had administrator privileges and ran the chmod +x bin/\* command on my terminal ...

1 min read · [alexcosmas.com](https://alexcosmas.com/error-procfile-does-not-exsist?utm_source=hashnode&utm_medium=feed)

[Jun 19, 2023](https://hashnode.com/posts/error-procfile-does-not-exsist/64901f5ec6f58e5fdcf2e91c)

### [Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db](https://alexcosmas.com/browserslist-caniuse-lite-is-outdated-please-run-npx-browserslistlatest-update-db?utm_source=hashnode&utm_medium=feed)

While trying the run my server in NextJs, I encountered the below error. Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db These following steps worked for me and I hope this help you out. Run the following comm...

1 min read · [alexcosmas.com](https://alexcosmas.com/browserslist-caniuse-lite-is-outdated-please-run-npx-browserslistlatest-update-db?utm_source=hashnode&utm_medium=feed)

[Oct 28, 2021](https://hashnode.com/posts/browserslist-caniuse-lite-is-outdated-please-run-npx-browserslistlatest-update-db/6481e50236774547493e0187)
