How to call an API with Flutter?
I'm creating a mobile application in Flutter that I'm testing on physical device(Android). I run my API on a wamp server in local. When I put the route in insomnia, it works and returns me a JSON. However, when I…
I'm creating a mobile application in Flutter that I'm testing on physical device(Android). I run my API on a wamp server in local. When I put the route in insomnia, it works and returns me a JSON. However, when I…
I have a raspberry pi that runs nginx and hosts a personal website. My pi says that nginx is running on port 80, but is refusing connections. This is an issue because it means I can't renew my SSL certificate…
I have a Docker image webshop (containing a Python Flask web application) that only runs when executed with the additional option: docker run -p 80:80 webshop -p 80:80 maps port 80 in the host to port 80 inside the docker…
I have a huge problem with docker - after restarting it changes the container mapping port I start my container: docker run -i -t -d -p 3000:63000 test and everything is great, but after restart the inner port (63000) was…
I already have a Mysql running on host at port 3306. version: "3" services: db: container_name: db_mysql image: mysql ports: - "3309:3306" environment: - MYSQL_ROOT_PASSWORD=123456 The container msyql port 3306 is mapped to host port 3309. But error: docker ps…
node .\index.js node:events:490 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE: address already in use :::3000 at Server.setupListenHandle [as _listen2] (node:net:1774:16) at listenInCluster (node:net:1822:12) at Server.listen (node:net:1910:7) at Function.listen (D:\Gamaca AI\Express2\node_modules\express\lib\application.js:635:24) at Object.<anonymous> (D:\Gamaca AI\Express2\index.js:9:5) at Module._compile (node:internal/modules/cjs/loader:1275:14)…
use lsof to show a port, but every port return same info... [kfadmin@master fundrisksys]$ lsof -i:136 24223 /usr/bin/bash /dev/pts/0 24223 /usr/bin/bash /dev/pts/0 24223 /usr/bin/bash /dev/pts/0 24223 /usr/bin/bash /dev/pts/0 [kfadmin@master fundrisksys]$ lsof -i:7895 24223 /usr/bin/bash /dev/pts/0 24223 /usr/bin/bash /dev/pts/0 24223 /usr/bin/bash…
It shows this error error listen EADDRINUSE: address already in use :::8081. Error: listen EADDRINUSE: address already in use :::8081 Things i have tried kill -9, killall node, adb reconnect etc nothing works it again shows same error when npm…
I'm having trouble connecting Route 53 to an EC2 with an app running on the 8080 port. Currently, I can hit and use the app using http://<EC2 name>:8080/<endpoint path>, but I obviously want to hit it with a domain name…
i really do not understand the following command in Dockerfile EXPOSE 8080 I built a java application and dockerized it via this Dockerfile FROM openjdk:10-jre-slim WORKDIR /app COPY ./target/display-console-1.0-SNAPSHOT.jar /app CMD ["java", "-jar", "display-console-1.0-SNAPSHOT.jar"] My java application got a controller…