Questions tagged [port]

The tag has no usage guidance.

-1
votes
1answer
12 views

php “SERVER['REMOTE_PORT']” correctness

In a code I write, which aims to provide more data about the user, I have difficulty collecting the user's port number. I write in PHP. <?php $ip = $_SERVER['REMOTE_ADDR']; $port = $_SERVER['...
0
votes
0answers
11 views

Can't Upload folder to FTP Server : ftp_put(): SSL_shutdown failed

I'm trying to upload all folder that are located in a specific folder ("Sending") to a FTP Server with that PHP Code : $conn_id = ftp_ssl_connect($ftp_server, 11876); $login_result = ftp_login($...
0
votes
0answers
13 views

VirtualHost to listen only to alias on port

I have a little problem with the VirtualHost, I have configured it to listen on the port I want, but I want it to function only on the alias I put. By that I mean: I want to work ONLY this one: www....
0
votes
1answer
14 views

How to make kubernetes service handle multiple ports in JAVA?

I am trying to make my service listen to multiple ports: V1Service service = new V1Service(); service.setMetadata(new V1ObjectMeta().name("tests")); V1ServiceSpec spec = new V1ServiceSpec(); spec....
0
votes
1answer
12 views

Can I plug/unplug a USB device without a physical change in windows 10?

A method to Connect / Disconnect a USB device "softly". Hey, Assume I have a USB device connected to my PC, I want to enable/disable the port it is connected via computer so that I don't have to ...
0
votes
0answers
7 views

Forward tomcat default port spring boot

I have a spring boot app with embedded tomcat. Unfortunately i cannot change default port it listens on(a kind of our company's container runs it and overwrites port). I want to forward(not redirect) ...
0
votes
1answer
20 views

When I run nodemon server I get the error “bad auth Authentication failed. [nodemon] app crashed - waiting for file changes before starting…”

I have been working on a node.js / react app and I uploaded it to heroku. About a month ago it worked (locally and on heroku). Now it doesn't. I seem to get the same error when I run nodemon server ...
0
votes
1answer
13 views

How to open outbound port using Azure cli?

I have a Linux VM on Azure. I want to allow outbound traffic on some ports. For inbound, I have used this command on the Azure CLI. az vm open-port --resource-group myResourceGroup --name myVM --port ...
0
votes
1answer
27 views

Expo on Android simulator could not run, Something went wrong

I want to run react native app on Android simulator. When I run expo start, Metro Builder opens on the chrome (http://localhost:19002/), Then I click on the Run on Android device/emulator. App ...
1
vote
1answer
23 views

What is the correct way to connect inports to a subsystem in Matlab/Simulink? I'm getting Invalid Simulink object name

I'm working with a model in Simulink, that contains a lots of inports and outports, and a subsystem. I'm trying to connect them programmatically because it is a really huge model. I've tried getting ...
0
votes
0answers
33 views

Whitelabel Error Error Page with SpringBoot

I developed an application with SpringBoot that has webservices and includes the front-office generated and coded with ReactJs. By default, this starts on port 8080. In order to make it easier to ...
0
votes
1answer
29 views

I can't listen express server on port 80

I'm trying to create an express server using node.js but when I start the server on port 80 my friends can't use it. I can select any other port and it will work, but when I try port 80 it doesn't ...
-1
votes
1answer
31 views

Regex for ip addres v4 with optional port [duplicate]

I had problem to detect input with pattern for ip address v4 with optional port I had found just pattern for ip address v4 only this is code only for ipv4 /\b(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}...
0
votes
2answers
24 views

How to configure sidekiq&redis without using docker-compose for rails?

I want to implement sidekiq to my rails app. I successfully create image and container. But when i try to execute job container in application can't find redis. How i can connect my-app container (...
-1
votes
1answer
16 views

How to change https default port but not include it in the URL

I have a website on 2 different servers. And I would like to access the site on server #1 by going to https://www.example.com/ (on port 80) and access it on server #2 by going to https://www.example....
0
votes
0answers
17 views

CanaryTokens on Genymotion

I am opening a pdf containing a canaryToken (basically, a pdf that pings an http address when you open it) using a Genymotion, an emulator for Android. The pdf opens correctly, but no token does not ...
0
votes
2answers
37 views

How to convert individual IPs to ranges based on matching column data in CSV

I need to group csv data in a way such that unsorted consecutive IP addresses that have the same port data (column G) are combined into a range. sort --field-separator=',' -k 7 -k 6 $filename.tmp1 &...
0
votes
0answers
19 views

Exposed ports become unresponsive after heavy load - Docker

I run a Postgresql Docker container database in my server with the exposed port 5432. After a heavy load from users this container became unresponsive by the port. docker run -d --env ...
1
vote
2answers
32 views

Script which returns a service name when you give it a service's default port number

I need to write a bash script which returns a service name when you give it a service's default port number. I am working with /etc/services file. And my code is: grep -E $1 /etc/services | head -n ...
0
votes
0answers
17 views

How to connect and use serial port?

I have problem with connection from UsbDeviceConnection. I Can't use serialPort.open ? When I delete UsbEndpoint and UsbInterface, connection.claimInterface and bulkTransfer i get in my app can't open ...
0
votes
0answers
9 views

Read Serial port seetings in Windows [closed]

I want to read the com - port number and Serial port settings (DCB structure) using the name of the Driver in Windows. So Do we have any API in windows by matching the strings of the drivers to get ...
-1
votes
0answers
29 views

Simply plugin standard stereo audio cable with a headphone exit - open the app and live stream

I have implemented the live audio streaming using wowza cloud, but my current requirement is to stream the audio coming from DJ via AUX cable. AUX cable is inserted in place of headphone port. I'm ...
0
votes
0answers
16 views

Connect call failed

I wrote a simple app on websocket. On local machine all works good. I deploy a server side on remote server on port 3636. When I try to connect it from same server, all good. From other place there is ...
0
votes
0answers
31 views

Socket Port Scanner does not find any valid open ports

I'm currently coding a port scanner where you can import a list of ips and the program will check all of them for open ports. The problem is, that the port scanner finds 5 valid ports on 5 different ...
0
votes
0answers
27 views

Docker compose services not accessible from localhost

I have the following docker-compose file: version: '3.6' services: mysql: image: mysql:5.7 volumes: - "${DOCKER_VOLUMES_PATH}/mysql:/var/lib/mysql:cached" ...
0
votes
1answer
18 views

Kill windows process that keeps restarting

I am trying to stop a windows service that is using a port I need, but the service keeps restarting it self. How do I stop it from restarting itself? I followed this question to kill it (How to kill ...
0
votes
0answers
23 views

How to from the client's perspective, find the outgoing port that is sending info to the server?

In my client, I'm trying to get the port that is sending client info to the server. Searching for a way to get the port on the client, but I only found results from the server which I have already ...
0
votes
0answers
13 views

What is blocking port 80 on Lubuntu 19.04?

I got a fresh install of lubuntu 19.04, cause my port 80 is already in use or blocked. Can anybody tell me how to open that port for my web server? And already checked netstat -tulpn but nothing is ...
-1
votes
0answers
24 views

SSL certificates , installation and ports

I am new to SSL's. Could some one please ecxplain these. I have already valid SSL's for my app. So, Is there any possibility to install one more SSL to my application ? I want to run one more ...
-1
votes
1answer
32 views

How can I use Get-TCPConnection and get more information about the processes? Precisely the Processes File Version?

The output from the cmdlet Get-TCPConnection does not include the file version and for academic purposes I need that information. I have tried many scrips, they just don't provide this precise ...
0
votes
0answers
11 views

How to discourage TCP port scanners?

I have a number of custom applications that act as servers, accepting TCP connections. They aren't web servers and don't speak http; it's all custom protocols. They are open to the world, though ...
-1
votes
0answers
25 views

Python returns me addresses I don't understand

About one week ago, I asked the following question: (Problems obtaining the serial ports of my computer through python) Since then, the situation has evolved and I've tried my code with the Arduino ...
0
votes
2answers
31 views

How to use Docker port in the code for server

I have Docker image for the web and another image for a server. My server uses a specific port which I hardcode in the server and in the web. I also define this port in the docker-compose file. I ...
0
votes
0answers
46 views

DOCKER: could not connect to server: Cannot assign requested address

I have tried so-many ways to solve this issue but i don't no where i struck again i got same error like this... ! Unable to load application: PG::ConnectionBad: could not connect to server: ...
-1
votes
1answer
14 views

What are the 1000 ports that nmap scans by default?

The Nmap website states: By default, Nmap scans the most common 1,000 ports for each protocol. What are these 1000 ports? I need the exact port numbers.
1
vote
0answers
64 views

Tchat with NodeJS on port 1337 doesnt work (server on Debian)

Hello and sorry for my bad english, but I have a problem with my tchat created with NodeJS. My server.js running on port 1337 in my VPS, but with port isn't secure and i don't know how secure him. ...
0
votes
0answers
23 views

TCP/IP connection with different ports

I need to trigger my device in every 10 seconds, and after that receive data from it. Trigger instruction is on different port (2116) than receiving data (port 2114) from my device. Here is my code ...
-1
votes
1answer
38 views

Why is the Mac OS specified TCP port not listening?

I have a problem. I wrote program in C++, specified port 60000. m_pConn.sin_port = htons( 60000 ); and then, when program (TCPFileSe) started, I noticed that LISTENING port is not 60000. Here is ...
0
votes
0answers
23 views

unable to send response from extension file background.js

If i use 'comment2' code in the background.js file my response is sent and 'myPara' paragraph element value shows "test comment 2" as expected and i receive no error messages. If i use 'comment1' ...
0
votes
0answers
21 views

Docker shows port 80 is mapped but requests do not reach the program in the container

Having problems accessing port 80 in a docker container from the host machine on windows 10 pro with visual studio 2019 I've set "httpPort:9876" in the launch settings file in VS launch settings and ...
0
votes
0answers
10 views

Cannot connect one pc to another using the Visual Studio Remote Debugging application (msvsmon.exe)

I have two PCs and need to remote debug from one PC to another. Based on the info from ipconfig, the PCs are on different enterprise networks, and as a Dev, I do not have access to the company's ...
0
votes
1answer
32 views

Checking for a specific open TCP Port with C++ on Windows OS

I have a patching program for a game and before the button to open the game is able to be clicked I am wanting it to check that the server is actually online which has a static ip address and port ...
0
votes
0answers
27 views

Is there a way to stop docker swarm leave --force from removing the redirection of port of the current containers running

I have 2 containers running using the ports 5001 and 5000 of my server. This server can be part of a docker swarm. When I leave the docker swarm using Docker swarm leave --force the redirection of my ...
-1
votes
0answers
17 views

CentOS 7: How can I view Port 8080 without entering the port in Browser?

I'm a Newbie in server configuration, especially in CentOS 7. My coworker has install a Apache server, it runs on port 8080. If I want to see the output of the server, i have to enter the URL and the ...
1
vote
2answers
39 views

How to override spring boot properties?

How to override spring boot properties at runtime? Below command works fine in terminal mvn spring-boot:run -Dspring-boot.run.arguments=--server.port=8081 but it's not working in Eclipse -...
0
votes
1answer
26 views

Changing 8081 port of Mongo-express

I'm working on a new stack, with mongo express on it and port 8081 is already allocated on my computer by McAfee and I can't disable it, So I changed it on docker-compose.yml to 443, I tried others ...
-1
votes
1answer
10 views

How can I open my local TCP port to public?

I have a TCP Server for a my personal chat, I want to expand my connection beyond my local network and I want to open my port: 28752 to my IP public of pc to enter wherever I want only when my ...
1
vote
1answer
16 views

Apache Config proxy SSL

I'm having trouble with Apache Proxy SSL, In which I need to forward and use a different port other than 443 with SSL but It's not working without SSL I can do the proxy just fine, I need your help. ...
0
votes
1answer
34 views

Map Spring Boot port to 80 in docker container

I am specifying PORT 80 in Spring boot application.properties like this server.port=80 So when running on localhost, this runs on port 80 Now I need to run it in a docker container and I did some hit ...
-3
votes
0answers
19 views

how do I get the NTP Server IP Address and Port?

I have a sensor where the only way to set the time is to give it the NTP(Network Time Protocol) IP Address and Port. I have tried the following Open Cmd "Net Time /querysntp" Enter "Ping" Enter ...