WampServer 3.0.6 Red Icon after windows update 01.01.2018 - windows-10

Windows 10 x64
WampServer 3.0.6
Everything was working perfect until 01.01.2018
I updated windows and today when i try wamp server not working.
WampIcon -> Right Click -> Tools -> Check state of services:
State of services:
The service 'wampapache64' is NOT started
EXIT error code:1077
Help message for error code 1077 is:
Son açıştan bu yana, hizmeti başlatma denemesi olmadı.
The service 'wampmysqld64' is NOT started
EXIT error code:1077
Help message for error code 1077 is:
Son açıştan bu yana, hizmeti başlatma denemesi olmadı.
The service 'dnscache' is started
WampServer (Apache, PHP and MySQL) will not function properly if any service
'wampapache64'
'wampmysqld64'
'dnscache'
is not started.
searched some google and stackoverflow but no post about "error code 1077"
VC packages for wamp prerequisites were already installed
Don't using IIS or Skype.
port 80 is free
***** Test which uses port 80 *****
===== Tested by command netstat filtered on port 80 =====
Test for TCP
Port 80 is not found associated with TCP protocol
Port 80 is not found associated with TCP protocol
===== Tested by attempting to open a socket on port 80 =====
Your port 80 is not actually used.
Need your ideas what the problem is?
Should i reinstall wampserver???

It sounds like the windows update may have removed the 2 services wampapache64 and wampmysqld64
To get these re-installed is simple.
Using the menus on the Wampmanager icon do this:-
[left click] wampmanager->Apache->Service Administration-> Install Service
and
[left click] wampmanager->MySQL->Service Administration-> Install Service
or if you are using MariaDB then do
[left click] wampmanager->MariaDB->Service Administration-> Install Service

Related

Can't connect to Jekyll's localhost:4000 on Windows 10

I'm trying to set up Jekyll on my Windows 10 machine, but can't connect to the website (127.0.0.1:4000) that is created by jekyll serve (or bundle exec jekyll serve). I have followed all the steps in Julian Thilo's Run Jekyll on Windows without any error messages. And when I run jekyll serve in PowerShell from my Jekyll website folder everything seems just fine:
Configuration file: C:/Users/fredr/dropbox/github/jekyll-website/_config.yml
Source: C:/Users/fredr/dropbox/github/jekyll-website
Destination: C:/Users/fredr/dropbox/github/jekyll-website/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 0.457 seconds.
Auto-regeneration: enabled for 'C:/Users/fredr/dropbox/github/jekyll-website'
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.
But when I open http://127.0.0.1:4000 (or http://localhost:4000) in my browser, the connection fails.
When I run netstat -an, the port 4000 is listed as
Proto Local Address Foreign Address State
TCP 127.0.0.1:4000 0.0.0.0:0 LISTENING
I have previously managed to set up a localhost using IIS, but that website is stopped now.
This Github issue seems related, but doesn't contain enough information for me to figure out how the problem was solved. It only says to use the "Jekyll on windows package", but I can't find any information on that.
Following in #Fredrik P's footsteps, I CD'd into the project's _site folder (this is where the home folder of the server should be) and ran a Python 3.x simple HTTP server:
D:\frida\frida-website\_site>python -m http.server 3999
Serving HTTP on 0.0.0.0 port 3999 (http://0.0.0.0:3999/) ...
Now pointing my browser to http://0.0.0.0:3999/ works like a charm.
If you need to use Python 2.x, the HTTP server command would be:
python -m SimpleHTTPServer 3999
For more information regarding SimpleHTTPServer (2.x) and http.server (3.x), see this Stack Overflow post.
Until some better solution pops up, I will just host the _site folder with IIS. Not as fancy pancy but works like a charm :)

Node web server not visible externally, but Python is (MacOS)

I'm just starting to build an Ionic 2 app, but I can't get it working on my mobile device.
Python (works)
To demonstrate that the phone can see the host, I tried a Python server:
$ python -m SimpleHTTPServer 8000
Serving HTTP on 0.0.0.0 port 8000 ...
If I go to http://192.168.8.101:8000 on my phone, it connects fine and displays the directory listing.
Node (fails)
However, when I start Ionic:
$ ionic serve -p 8000
[...]
[INFO] Development server running
Local: http://localhost:8000
External: http://192.168.8.101:8000
I can load it in my host's web browser, but I can't see it from my phone nor another computer (it times out). I also tried a basic node server:
$ npm install http-server -g
$ http-server -p 8000
Starting up http-server, serving ./
Available on:
http://127.0.0.1:8000
http://192.168.8.101:8000
With the same result as Ionic: accessible from the host, but not from the phone.
Is there something blocking the request? Or is there some Node configuration I'm missing? I'm new to both Mac OS and Node, so I don't know where to look.
Embarrasingly, this turned out to be a firewall issue. In System Preferences > Security & Privacy > Firewall > Firewall Options, Node was explicitly set to deny incoming connections:
Changing it to Allow has fixed it. Phew!
Just execute ionic address and you'll get an IP address in your command line. Try with that ipaddress:port number from your mobile which will enable you to access your site from your phone.
Just incase if the ionic address command doesn't return anything, you need to execute the below command to point it to your ip,
ionic serve --address YOUR_IP_ADDRESS
Hope this helps!

How to uninstall IIS on windows 8.1 so I can XAMPP on port 80

I installed IIS on my Windows 8.1 computer but now I want to work with XAMPP. At first I got this error:
Problem detected!
9:32:40 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
9:32:40 PM [Apache] Apache WILL NOT start without the configured ports free!
9:32:40 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
9:32:40 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
I deleted IIS from control panel and unchecked IIS from "Turn Windows features on and off" then I restarted.
But yet when I type localhost in my browser IIS comes up and doesn't let me use XAMPP as my localhost in my project. When I choose XAMPP for my project and run it then I see error 404 because it can't define XAMPP as my localhost.
I want to work with XAMPP, what should I do?
If you unchecked IIS (and all the child nodes) from the "Windows Features" then IIS is gone, so you might have another process using that port. Historically many applications have decided to use that (chats, music players, and others).
I would run netstat as below to find all the processes that are listening/using TCP port 80 and using the PID find in Task Manager who they are:
netstat -ano | findstr :80
There find the PID (last column) and find the culprit. If it is SYSTEM (usually PID 4, and reading your question, that is likely the case, so keep reading) , then some application is using HTTP.sys to listen in Port 80. So for that you'll need to then look in HTTP.sys, for that:
netsh http show servicestate > out.txt
notepad out.txt
there you can find the registered URLs by searching for ":80/" and see if that gives you a clue of who is doing that.

Unable to connect to cloud9 over LAN

I've installed cloud 9 Ubuntu 14.04 (Desktop), and executed it by typing:
node [cloud9folder]/server.js -p 8080 -a :
I was able to connect to it by typing localhost:8080 (On the same computer that is running cloud 9) but when I went on another computer on the same network, I was unable to connect by typing [ip address of the computer running cloud9]:8080 into the browser. The browser returned: "Webpage not available (ERR_CONNECTION_REFUSED)."
I know the server computer is working, I was able to access it's apache2 website but for some reason it is unable to connect to cloud 9.
How do I fix this?
also add -l 0.0.0.0 by default server is listening on 127.0.0.1 which is not public

IIS and Glassfish in Windows 7

I installed the newest version of Windows 7.
This is my development box, so I have glassfish installed, which I use for Java applications. Also, I use IIS to run PHP applications. I run both servers on port 80, but never at the same time.
However, since I set up IIS, I can't get glassfish to run. In eclipse, it always gives the following error:
Port conflict: Please stop the server process using the same port as the one used by the Application Server.
A server process is already running on this port but we cannot determine if it's a GlassFish process (lack of info or credentials).If you do not find something else running on this port, check for antivirus software blocking or monitoring this port.
Edit: I tried turning off IIS, and even turned off the IIS feature. Still no luck.
I also ran netstat, and the following are showing up on ports that glassfish uses:
Proto Local Address Foreign Address State
TCP 0.0.0.0:80 NBSDTVL01574:0 LISTENING
TCP [::]:80 NBSDTVL01574:0 LISTENING
Thanks
This turned out to be an issue with my virtual machine. A fresh copy fixed the issue.
this happen because you select the same port number use by the iis and glashfish, i suggest you configure either of the two to use different port number.

Resources