Questions tagged [port]
A port is a communication end-point in the context of network communications or an interaction point for inter-component interactions. Do not use this tag for software ports from one platform or language to another, but use the tag "porting" instead.
7,333
questions
0
votes
0
answers
63
views
Connect DJI Ryze Tello drone to WSL through ROS
I am a beginner programmer in Python and I am currently carrying a project that involves connecting a Tello drone to WSL (Ubuntu 22.04), using ROS2 (Humble distro).
I am using the DJItelloPy library, ...
-3
votes
1
answer
80
views
Cannot connect to running Docker container from locally run Golang
I have a container running on my local with
docker run \
--publish 8081:8081 \
--publish 10250-10255:10250-10255 \
--interactive \
--tty \
mcr.microsoft.com/cosmosdb/linux/azure-...
0
votes
0
answers
11
views
Can't connect to port 27017
I have tried running the following in Windows PowerShell:
Test-NetConnection -InformationLevel detailed -ComputerName portquiz.net -Port 27017
I get the following error message:
WARNING: TCP connect ...
0
votes
0
answers
15
views
Reading GPD serial port in C# gives me random text
Trying to read GPS device location using code below:
using System;
using System.IO.Ports;
public class Program
{
public static SerialPort? _serialPort;
public static SerialPort? ...
0
votes
1
answer
44
views
Android PWA opens with the port 3000 when opening from Google Chrome
we are developing an application as a PWA, built with Bubblewrap, that we have in Google Play right now.
The problem is that for the testers who use Google Chrome as the default browser, the URL that ...
0
votes
0
answers
25
views
Apache2 web page not loading from outside network/internet
I am struggling with an Apache2 web server and cannot load the page from outside the local network.
The server is running on a PC in local network, connected to the router with internet access, with ...
1
vote
1
answer
139
views
How to handle inconsistent HttpRequestExceptions when calling external API from web application
While trying to call an external API from react/.NET applications using HttpClient in the background, sometimes we are seeing http exceptions like this:
System.Net.Http.HttpRequestException: A ...
0
votes
0
answers
12
views
My port is always stuck in the old project
Long story short, I once worked on a project using port 8000. Now I want to create a new project with Laravel but when using PHP Artisan Server, my browser always redirects to the old project that was ...
0
votes
1
answer
98
views
how to send data with com port?
namespace WindowsApplication14
{
public partial class Form1 : Form
{
SerialPort _serialPort;
// delegate is used to write to a UI control from a non-UI thread
private ...
0
votes
0
answers
17
views
DJANGO [WinError 10061] email features
I'm working in a Django project that uses the mail features.
When try to send the mail I got this error message:
[WinError 10061] No connection could be made because the target machine actively ...
0
votes
0
answers
59
views
Python port scanning with asyncio too many open files
I am trying to build a port scanner in python using asyncio for asynchronous handling.
When trying in the PyCharm env, i don't get any error and ports and shown open as it should.
When trying in ...
0
votes
1
answer
91
views
OSError: [WinError 10049] The requested address is not valid in its context Python code
I am trying to connect to an ip and listen to that port. I keep getting this error message OSError: [WinError 10049] The requested address is not valid in its context It was working when I was using ...
-1
votes
1
answer
62
views
Change the port of a Process(WIn11)
For my Coding project I need my application running on localhost:5000 since everything else was set up around that. After starting my backend it said the address is already in use, which I checked: ...
1
vote
0
answers
74
views
How to get really used listener port inside Handler
Assume this code
handler := http.HandleFunc("/usedport", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte(strings.Split(r.RemoteAddr,":")[1]))
})
l, err = ...
0
votes
1
answer
10
views
/handleClick route is not routing to rendered template in flask
I am not able to open test.html by rendering in flask.
I am trying to send data of a movie card to other page: test.html if the card is clicked.
I have taken the approach of onclick(event) function ...