port

Which ReadFile parameter in this code is incorrect? (Error code 87)

瘦欲@ 提交于 2019-12-12 04:30:42
问题 ( Edit: I didn't exclude any code except the headers and the main() function's brackets. Nothing is written between lines of code listed here.) . I used the ReadFile function to read this COM3 port (which returned no INVALID_HANDLE_VALUE or ERROR_FILE_NOT_FOUND): LPCTSTR portName = "COM3" ; HANDLE hSerial; hSerial = CreateFile(portName, GENERIC_READ | GENERIC_WRITE, 0, // exclusive access NULL, // default security attributes OPEN_EXISTING, FILE_FLAG_OVERLAPPED, NULL); And the ReadFile

Apache won't run even though port 80 is available

自古美人都是妖i 提交于 2019-12-12 04:26:42
问题 So I used Apache last time yesterday, opening up Port 80 so that it could access it. Today, without changing any settings, it won't start. I've made Port 80 available, I've tried changing the Listen 80 to Listen 8080 and multiple other ports but it won't work. I've also opened XAMPP in administrator since I've read that it could be privilege problems, but that doesn't seem to be the problem aswell. The error message I receive is: 17:16:51 [Apache] Attempting to start Apache app... 17:16:51

Jenkins not showing on Ubuntu through google cloud

耗尽温柔 提交于 2019-12-12 03:59:57
问题 I've installed Jenkins on my Ubuntu machine running on compute engine in Google Cloud. To do so I have run these commands: sudo apt-get update sudo apt-get install apache2 libapache2-mod-php5 php5-mcrypt php5-mysql git openjdk-7-jre openjdk-7-jdk -y wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add - sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list' sudo apt-get update sudo apt-get install jenkins Jenkins

check for port availability using iphlpapi dll in nsis

爱⌒轻易说出口 提交于 2019-12-12 03:14:47
问题 Could anyone please let me know how to check for port availability using iphlpapi dll in nsis. 回答1: You can have a look at Calling an external DLL using the System.dll plugin from the NSIS wiki. 来源: https://stackoverflow.com/questions/9292100/check-for-port-availability-using-iphlpapi-dll-in-nsis

Amazon EC2 instance - Play Framework connectivity

為{幸葍}努か 提交于 2019-12-12 03:04:19
问题 I created an EC2 instance and added ALL TCP and UDP ports. ICMP also... Started my play application with both port 9000 and 80, neither worked out. The application starts, I can connect to it from the instance but I cannot connect to it from outside. telnet instance_dns_name 9000 fails whereas telnet instance_dns_name 3389 works. I don't know what I am missing. The same issue happened in Microsoft's Azure too. May it be about the region? 回答1: One more important thing... If you have Amazon EC2

process 0 is using my port [closed]

[亡魂溺海] 提交于 2019-12-12 01:05:56
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I am running a server program that listens on port 2811, and a few clients that communicate on that port. When I run netstat from the command line to see which process is using port 2811, I get that process 0 is also using it: C:>netstat -ano | find ":2811" TCP 0.0.0.0:2811 0.0.0.0:0 LISTENING 5448 TCP 127.0.0.1

See if a server is listening on a port in PHP?

只愿长相守 提交于 2019-12-12 00:03:40
问题 Before answering, please note that I am completely new to PHP. I have heard it is powerful. What I'm trying to do is have a page on my (Apache 2) web server that when a user clicks a button on the page, the server will check if a port is running on it's own IP with a preset port for each button, I want multiple buttons with the same IP but different ports to be pinged. Example: Button 1 (Terraria Server) is clicked, server pings 127.0.0.1:7777 and tells the user if it gets a response or not.

After host PC reboot vagrant up shows port collision on any port

瘦欲@ 提交于 2019-12-11 21:27:26
问题 My host OS is Windows . I use Vagrant with box ubuntu/trusty64 Yesterday, after the host PC was rebooted, I am experiencing a problem - port collision, when using vagrant up or vagrant reload . I already updated vagrant to latest version, deleted all settings, all machines, created all from blank (without reinstalling OS on host machine) And the problem still persists. Whe I use port_forward, from 80 to port I want (lets call it port X ) - I get an error - port collision on port X . It can be

port binding error, on Python opening

二次信任 提交于 2019-12-11 20:40:06
问题 When I open Python's IDLE, sometimes and error name 'port binding error' is accrues, and IDLE is filed to run on the computer. one this error accrues, it will repeat every time I'll open IDLE, till the computer will be restarted. the error box saies: ' ILDE can't bind to a TCP/IP port, which is necessary to communicate with its Python execution server. This might be because no networking is installed on this computer. Run IDLE with the -n command line switch to start without a subprocess and

google compute engine add firewall rule for hadoop dashboard

▼魔方 西西 提交于 2019-12-11 20:18:08
问题 I installed hadoop cluster using bdutil (instead of click to deploy). I am not able to access job tracker page at locahost:50030/jobtracker.jsp (https://cloud.google.com/hadoop/running-a-mapreduce-job) I am checking it locally using lynx instead of from my client browser (so localhost instead of external ip) My setting in my config file for bdutil is MASTER_UI_PORTS=('8088' '50070' '50030') but after deploying the hadoop cluster when I do firewall rules list I get following NAME NETWORK SRC