port

Port number issue with an Android SMS Application

Hello Messaging APP: Is it possible to use port numbers(to Send SMS) in Android App like we use in J2ME. So that only those App which have the same Port Number can listen. Problem Faced: There is an Application X in Both Users A & B. When we tried sending SMS from A to B using our X Messaging Application, The message will go to our...

ASP.NET 2.0 and COM Port Communication

ASP.NET 2.0 and COM Port Communication Hello Guys, I have a managed DLL which communicates with the devices attached on COM/Serial ports. The desktop Winforms application sends requests on ports and receives/stores data in memory. In Winforms app I have added a reference to DLL and I am using the methods. This works well. Now, there is...

Trying to deploy Web Server Application

Starting of Tomcat failed, the server port 8080 is already in use. Can you tell me how to close the port? Thanks ...

C# TCP Socket Port Proxy Translation Forwarding?

I've been experimenting with many TCP Socket projects found on the Internet. The 'Server' class will often accept 'multiple clients', but only one connection at a time due to 'Single Port' usage restrictions. I've discovered Winsock responds differently on Visa than XP. The Visa Winsock will redirect the same incoming port to a random, u...

Which TCP port does Erlang use for connecting to a remote node?

I need to open a firewall port so that I can connect from one Erlang node to another. Is there a standard port? ...

How to find available parallel ports and their I/O addresses using Delphi and WMI

I see that WMI is very powerful and seems to be able to return most properties of a PC hardware. I'd like to display the available parallel ports on any PC and find their I/O addresses - I know that normally this is done using a Kernel driver but this is a legacy need - dont ask! Presently we look in Device Manager and then have to type ...

TCP: Address already in use exception - possible causes for client port? NO PORT EXHAUSTION

Hello, stupid problem. I get those from a client connecting to a server. Sadly, the setup is complicated making debugging complex - and we run out of options. The environment: *Client/Server system, both running on the same machine. The client is actually a service doing some database manipulation at specific times. * The cnonection co...

web apps on localhost on different ports accessed via port 80

On my laptop, with Apache I have different web apps in various directories on my laptop, that I can start using simple webservers listening on different ports. For example ~/app1/./app.pl >> listening on http://localhost:3000/ ~/app2/./app.pl >> listening on http://localhost:3001/ ~/app3/./app.pl >> listening on http://localhost:3001...

Opening port 80 with Java application on Ubuntu

What I need to do is running a Java application which is a RESTful service server side writtern by Restlet. And this service will be called by another app running on Google App Engine. Because of the restriction of GAE, every http call is limited to port 80 and 443 (http and https) with HttpUrlConnection class. As a result, I have to de...

Find a free port C#

Hi, I'm writing a ftp server library (because I need it and I can't find any good solutions for this) in C# and I have two questions: How does IPEndPoint finds a free port when I do new IPEndPoint(IPAddress.Any, 0), for example? Is it possible to find a free port from a range (for example from 1023 to 65535), without the GetActiveTcpC...

STAThread and Process output capture in c#

Hi: This is a strange problem I encountered. I have an window application written in c# to do testing. It has a MDI parent form that is hosting a few children forms. One of the forms launch test scripts by creating processes and capture the scripts output to a text box. Another form open serial port and monitoring the status of the devi...

Is this pdo bug fixed now?

Note that you can specify a port number with "port=####", but this port number will be ignored if the host is localhost. If you want to connect to a local port other than the default, use host=127.0.0.1 instead of localhost. Quoted from this page,has anyone verified if it has been fixed? ...

usb device identification

hello all i am using python on ubuntu 9.04 say i have two usb devices connected to a single PC. how can i identify the devices in python code.....for example like if usb port id == A write data to device 1 if usb port id == B write data to device 2 any ideas.... ...

Bitbanging a PIO on Coldfire/ucLinux

Here's the problem: I need to program some hardware via 2 pins of the PIO (1 clock, 1 data). Timing constraints are tight - 10ms clock cycle time. All this, of course, whilst I maintain very high level services (CAN bus, TCP/IP). The downstream unit also ACKS by asserting a PIO pin, configured as an input, high. So this loop has to both ...

Nginx not responding to remote IP

I just installed Nginx listening on 8083 I can get a HTTP response when sending a HTTP request from the local machine. eg: curl -i localhost:8083 However, when I do the same from a remote machine, it just hangs until the ssh times out, or when the browser times out if accessed from the browser. I pretty much have the default confi...

which port to use for applet servlet communication

I am trying to communicate between an applet and a servlet. I first tried Http connection. But I am not getting the desired result. Hence decided to switch to socket communication. Hence I wanted to know which port to use for the same. I remember reading somewhere that port 80 is ideal. Is it port 80 or port 8080? I need a port that is n...

Windows <sys/file.h> equivalent

Is there a Win32 equivalent to the linux header file? I'm working on a Linux to Windows port (and my first time doing so) and it's failing on this file. ...

Socket Communication in C#- IP-Port

I am testing my socket programs at home, in local network. Server and client programs are running on seperate machines. Server program socket is binded as: serverSocket.Bind(new IPEndPoint(IPAddress.Parse("127.0.0.1"), 8999)); Client program (on the other computer) is connected as: clientSocket.Connect(IPAddress.Parse("192.168.2.3"), ...

how do i claim a low-numbered port as non-root the "right way"

I have a script that I want to run as a daemon listening on a low-numbered port (< 1024) Script is in python, though answers in perl are also acceptable. The script is being daemonized using start-stop-daemon in a startup script, which may complicate the answer What I really (think) don't want is to type ps -few and see this process r...

What is the port for a hostname query ?

I want to query an IP to get its hostname. What is the standard port for this ? Could it be port 101 listed under "hostnames" in /etc/services ? ...