tagged [port]

How do I free my port 80 on localhost Windows?

How do I free my port 80 on localhost Windows? I installed XAMPP 1.6.8 and for some reason it didn't work. Later realized port 80 is not free or not listening. How can I release it or make it free? Th...

how detect caller id from phone line?

how detect caller id from phone line? Is it possible to read bytes directly from modem or phone line without losing any info? If use `SerialPort` after ringing nothing happens on `ReceiveData` event. ...

13 Nov at 11:59

XMODEM for python

XMODEM for python I am writing a program that requires the use of XMODEM to transfer data from a sensor device. I'd like to avoid having to write my own XMODEM code, so I was wondering if anyone knew ...

What is process.env.PORT in Node.js?

What is process.env.PORT in Node.js? what is `process.env.PORT || 3000` used for in Node.js? I saw this somewhere: If it is used to set `3000` as the listening port, can I use this instead? If not why...

2 May at 02:7

How do I determine if a port is open on a Windows server?

How do I determine if a port is open on a Windows server? I'm trying to install a site under an alternative port on a server, but the port may be closed by a firewall. Is there a way to ping out or in...

3 Aug at 16:7

How do I assign a port mapping to an existing Docker container?

How do I assign a port mapping to an existing Docker container? I'm not sure if I've misunderstood something here, but it seems like it's only possible to set port mappings by creating a new container...

12 Mar at 13:28

C# check if a COM (Serial) port is already open

C# check if a COM (Serial) port is already open Is there an easy way of programmatically checking if a serial COM port is already open/being used? Normally I would use: However, I would like to progra...

20 Mar at 19:15

IPAddress.Parse() using port on IPv4

IPAddress.Parse() using port on IPv4 I'm trying to parse a string containing an IP address and a port using IPAddress.Parse. This works well with IPv6 addresses but not with IPv4 addresses. Can somone...

14 Feb at 08:34

How to convert string to ByteString when using protobuf?

How to convert string to ByteString when using protobuf? I want to convert a string object to ByteString.I have tried to use ByteString.CopyFrom() function to convert,but the return value is always "{...

Get the device name connected to the serial port

Get the device name connected to the serial port I search how to get the device name of the material connected to the serial port. I've two different types of material that can connect on it. First on...

21 Dec at 14:0

Programmatically create a web site in IIS using C# and set port number

Programmatically create a web site in IIS using C# and set port number We have been able to create a web site. We did this using the information in this link: [https://msdn.microsoft.com/en-us/library...

4 Apr at 12:19

using a COM port - Close after each use, or leave always open?

using a COM port - Close after each use, or leave always open? Till now I opened when I needed to send data, and closed right away. I get random "Access to Port" errors (although I always close the po...

27 May at 16:57

How do multiple clients connect simultaneously to one port, say 80, on a server?

How do multiple clients connect simultaneously to one port, say 80, on a server? I understand the basics of how ports work. However, what I don't get is how multiple clients can simultaneously connect...

Can two applications listen to the same port?

Can two applications listen to the same port? Can two applications on the same machine bind to the same port and IP address? Taking it a step further, can one app listen to requests coming from a cert...

10 Nov at 20:34

How to kill a process running on particular port in Linux?

How to kill a process running on particular port in Linux? I tried to close the tomcat using `./shutdown.sh` from tomcat `/bin` directory. But found that the server was not closed properly. And thus I...

10 Aug at 10:55

RS485 support in pxa255

RS485 support in pxa255 I want to use rs485 placed on my card. I'm working on arm-linux and with pxa255 processor. I have already checked "serial.h" located in arm-linux tool chain but unfortunately i...

29 Jul at 12:50

How to find an available port?

How to find an available port? I want to start a server which listen to a port. I can specify port explicitly and it works. But I would like to find a port in an automatic way. In this respect I have ...

20 Apr at 13:16

Determine the process pid listening on a certain port

Determine the process pid listening on a certain port As the title says, I'm running multiple game servers, and every of them has the same `name` but different `PID` and the `port` number. I would lik...

25 Mar at 00:37

Is there way to use protobuf-csharp-port generated classes with servicestack.ormlite?

Is there way to use protobuf-csharp-port generated classes with servicestack.ormlite? I have a ton of C# classes generated using protobuf-csharp-port. I ended up creating my own simple ORM mechanism f...

How to change the port number for Asp.Net core app?

How to change the port number for Asp.Net core app? I added the following section in `project.json`. ``` "commands": { "run": "run server.urls=http://localhost:8082", "web": "Microsoft.AspNet.Host...

Connecting two UDP clients to one port (Send and Receive)

Connecting two UDP clients to one port (Send and Receive) I tried the suggestion from [this question](https://stackoverflow.com/questions/687868/sending-and-receiving-udp-packets-between-two-programs-...

23 May at 11:54

Clear serial port receive buffer in C#

Clear serial port receive buffer in C# Just want to know how do we clear the receive buffer of my serial port in C#. Seems like the data in the receive buffer just keep accumulating. For example, the ...

20 Jul at 05:15

How to open a web server port on EC2 instance

How to open a web server port on EC2 instance I'm running a CherryPy web server at `0.0.0.0:8787` on an EC2 instance. I can connect to the web server via local `wget` on the EC2 machine, but I can't r...

6 May at 13:10

How to open, read, and write from serial port in C?

How to open, read, and write from serial port in C? I am a little bit confused about reading and writing to a serial port. I have a USB device in Linux that uses the FTDI USB serial device converter d...

18 Dec at 10:56

Reading from and Sending data to Serial port

Reading from and Sending data to Serial port I'm trying to do a serial port communication to send and receive data. Here is the scenerio: I connect to a serial port and start my device. When it's coun...

8 Jan at 07:42