I run a container according to README, but the service doesn't response outside a container. Only inside.
[zelgray@zelgray scripts]$ docker run -d --restart=always -p 3000:3000 instafix:main
b504e5fc91db5dbd74a82ed75b52fcfca99198901d28ba5c463903fa394b9976
[zelgray@zelgray scripts]$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b504e5fc91db instafix:main "/app/instafix" 2 seconds ago Up 1 second 0.0.0.0:3000->3000/tcp, :::3000->3000/tcp funny_shamir
[zelgray@zelgray scripts]$ curl localhost:3000
curl: (56) Recv failure: Connection reset by peer
[zelgray@zelgray scripts]$ docker exec -it funny_shamir bash
root@b504e5fc91db:/app# curl localhost:3000
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta property="og:title" content="InstaFix"/><meta property="og:site_name" content="InstaFix"/><meta property="og:description" content="Fix Instagram embeds in Discord (and Telegram!)"/><title>InstaFix</title><link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100%'><text y='.9em' font-size='90'>🛠</text></svg>"/><link rel="stylesheet" href="https://unpkg.com/@picocss/pico@latest/css/pico.min.css"/></head><body><main class="container" style="max-width: 35rem"><hgroup><h1>InstaFix</h1><h2>Fix Instagram embeds in Discord (and Telegram!)</h2></hgroup><p>InstaFix serves fixed Instagram image and video embeds. Heavily inspired by fxtwitter.com.</p><section><header><h3 style="margin-bottom: 4px">How to Use</h3><p>Add dd before instagram.com to fix embeds.</p></header><video src="https://user-images.githubusercontent.com/72781956/168544556-31009b0e-62e8-4d4c-909b-434ad146e118.mp4" controls="controls" muted="muted" style="width: 100%; max-height: 100%">Your browser does not support the video tag.</video><hr/><small><a href="https://github.com/Wikidepia/InstaFix" target="_blank">Source code available in GitHub!</a></small><br/><small>• Instagram is a trademark of Instagram, Inc. This app is not affiliated with Instagram, Inc.</small></section></main></body></html>root@b504e5fc91db:/app#
I run a container according to README, but the service doesn't response outside a container. Only inside.