port

UDP socket port allocation failure

Hi I am creating a winsock UDP program. code i am using is shown below. I am always getting port assignment error. I am not able to understand why port always allocated is zero. If some can help me with this.... void UDPecho(const char *, const char *); void errexit(const char *, ...); #define LINELEN 128 #define WSVERS MAKEWORD(...

How do I make localhost:3000 available world-wide with my IP adress?

Hello. I have a Ruby on Rails application running on localhost:3000. I would like to make it available world-wide, using x.x.x.x:3000 (my IP address). I'm on Windows XP SP3. Thank you. ...

How the localhost port number of .NET Development Server set?

Guys, I see that time to time localhost port number changes (http://localhost:1519/ ....). Basically how does it being set or chosen? And when does it change? Thanks! ...

Example code of libssh2 being used for port forwarding

I'm looking for an example of how to use libssh2 to setup ssh port forwarding. I've looked at the API, but there is very little in the way of documentation in the area of port forwarding. For instance, using PuTTY plink, There is the remote port to listen on, but also the local port that traffic should be sent to. Is it the developers...

fire wall fms rtmpt problem

Hi, I have flash video player that is using fms server. when firewall is blocking port 1935(the default port) it takes about 30 second to the video to be played. i try to force port 80 by rtmp protocol and try to connect to rtmpt protocol and both failed. i checked the configuration file in fms and enabled port 80 and 1935 . The ii...

Fms port problem

Hi, I have flash video player that is using fms server. when firewall is blocking port 1935(the default port) it takes about 30 second to the video to be played. i try to force port 80 by rtmp protocol and try to connect to rtmpt protocol and both failed. i checked the configuration file in fms and enabled port 80 and 1935 . The ii...

Cloud computing usage pattern. Can I have some port open within an app running in a cloud?

Hi! I'm developing a small web service which will partially rely on SMTP and FTP servers. I'm interested is it possible for me to create an app that will run within a cloud and still have some port open? I know I can forward request to a cloud after a request to port is made but is it possible to be handled by cloud from the beginning? ...

How do I get process name of an open port in C#?

How do I get process name of an open port in C#? ...

Java Problem "UnsatisfiedLinkError"

I made a simple java program that sends bytes to the parallel port, which uses a .dll along with two other classes (pPort.java and ioPort.java) to accomplish it, and it works perfectly fine. However, I started making another program on NetBeans IDE which has a similar function. It compiles perfectly, but when I run it I get: Exception ...

listenin a port from appplication server

Hi all; First I have a JSF application that make some sort of searches from database, but on the other hand I have been listening port for this purpose also, I start a thread that listens that port in my application bean. From the port I listen for incoming request of these searches and send responses from this port. The situation is th...

Can't access locally hosted project via the internet?

I'm currently developing a Java Servlet Project in Eclipse. The project is compiled via Tomcat 5.5 and hosted in localhost:8080(alternatively 127.0.0.1:8080 AND 192.168.1.10:8080 which also happens to be my local IP). The hosted project can be accessed on another computer via my Intranet(Local Network) at 192.168.1.10:8080. It should be...

Listen to a port that is in use

Possible Duplicate: Get connecting IP from specified ports that using by other program. If a port is used by a program, is there any way I can listen that port and get the connected IP on that port? ...

ADO local ports

We have an application that connects to a couple of hundred databases using ADO. Now I know that this may not be the best way of doing things (our customer base has expanded since the application was written) and we are re-writing the application to limit the number of connections. However in the meantime if I look at the ports used on t...

How to use PortMode.OptimizedSingleReissueReceiver in an Interleave? (Microsoft CCR)

Hi, I have read a post on the Microsoft CCR forum on reducing the overhead of calls to Port.Post() [ref.: PortElement Instantiation in the CCR] and I was wondering if there is a similar way to bind a port to its receiver in order to use the port in OptimizedSingleReissueReceiver mode in an interleave arbiter? I have implemented the fol...

C# Discover the LocalEndPoint AddressFamily port number

When I establish a tcp connection to a server using the TcpClient class, is there any way to find out the source port of this connection? I am trying to implement the exec protocol and stderr port seems to always be source port + 1. ...

How to patch J2SE so Java Datagram.getAddress() reports sender's port

Sun's j2se implementation of the j2me Datagram appears to be a bit broken: javax.microedition.io.DatagramConnection dc = createDatagramConnection(); javax.microedition.io.Datagram datagram = (javax.microedition.io.Datagram)datagramConnection.newDatagram( 1000 ); datagram.reset(); datagram.setLength( 1000 ); datagramConnection.receive(...

Find the port of the server the application is running in java

Hi I have an application running in tomcat,as well as Weblogic and Websphere I need to determine which port the application is running and display on the UI Is there any JAVA api to find that ...

WCF and godaddy port forwarding

I have a WCF web service running under IIS 7 with a static IP address: 173.1.1.1:9100 I set up a domain name using godaddy.com and forwared to my static ip address/port: mydomainname.net. I have a client test app that works when I use the ip/port address, but not the godaddy domain name. I can bring up the service description in a bro...

Can I expose multiple webHttpBinding endpoints in the same port?

I know I can expose multiple netTcpBinding endpoints in the same port. I know I can't expose an endpoint in the same port used by IIS. What about multiple webHttpBinding endpoints in the same port? ...

Does porting count as derivative work?

If I were to port a GPL'ed library to a different language: Would it count as a derivate work and would I have to release my port with the same GPL? If the answer to the above question is yes, who would be considered the owner of the ported library? Would I be the owner and be able to relicense and use it in a commercial application? ...