How to solve WAMP and Skype Conflict in windows XP? - windows-xp

How do I solve the WAMP and Skype Conflict in windows XP?
My issue is both are working simultaneously when I try to start WAMP
This alert is displayed:
'could not execute menu item(internal error)...'

Generally
If you have installed Skype with WAMP and if you run Skype before WAMP, you can not get WAMP Apache running. Because both use port 80, there is a conflict.
So before running WAMP be sure that your Skype is disconnected. You can log on Skype after you started WAMP .
In Skype if you click "tools " then "Options > Advanced > Connection" or "Connection options ..." and connection down the left,,
un-tick the check-box : "use port 80 and 443 as alternative incoming ports"
The problem should be fixed
In your Case
You might want to backup Wamp's data (don't forget Mysql and www directory), uninstall the WAMP and install fresh WAMPServer again.

In skype >>
Go to Tools -> Options -> Advanced -> Connections and uncheck the box "use port 80 and 443 as alternative".

Related

Tomcat in the VSCode 'Just Start Server' extension does not start

I have installed the 'Just Start Server' extension into VS Code. In the extension I have added a Tomcat Server (pointing to a local apache-tomcat-8.5.78 install I have permissions to access).
When I start the server I get a error balloon with the following message: "Does not match the server configuration the deployment settings"
The Tomcat server is not started at all. I tried changing the port from 8080 to another port (although 8080 is free) with the same result.
Any idea why this happens? How can I debug this in more detail?

Netbeans IDE8 Glassfish 4, GlassFish Server: Administrator port is occupied by null

I just downloaded Netbeans IDE7 with the Glassfish 4.
I just made a project to test it out and see how it goes, and I got this error right from the start:
Could not start GlassFish Server: DAS port is occupied while server is not running
[location]: Deployment error: Could not start GlassFish Server: DAS port is occupied while server is not running
See the server log for details.
BUILD FAILED (total time: 1 second)
I have reinstalled it three times, with the Glassfish and without and then later add it to Netbeans, i changed the domain.xml name="admin-listener" port="4848" to something different
i did this cmd code netstat -aon | find ":80" | find "LISTENING" and closed the programm.
i ran as administrator i think i did almost everyting but it wont simply run, and it keeps returning to the same error
usually i would have given up but this software is required for a school project.
i will try everything.
i hope someone can help me.
Thx in advance
You have to find the process that has taken the port you need. You can try finding it by running the terminal with the command:
netstat -aon | find ":80" | find "LISTENING"
Find the information you need and than kill the process with specific PID in Task Manager.
I hope you find this useful,
Thanks.
A few points:
Why not download NetBeans 8 that also includes GlassFish 4?
Assuming that you have successfully figured out that no other process is listening on port 4848, then Which version of the JDK are you using? Can you try JDK 7 if you are using JDK 8?
Looks like you are not alone - see NetBeans bug 237477.
Note that this isn't the only problem. I run on a Mac and can use the asadmin start command successfully on the remote server. IF I try to start it from NetBeans, it gives me this message.
One hint might be that the domain.xml file is set so that the listening port is 9090, the properties screen for the remote server, which I entered 9090 for, tells me the HTTP port is 23043. I can't edit it. Everytime I try to create that remote server it sets it to this value. The server will run fine if I start it by hand on the remote server, but NetBeans doesn't think it is running.
This occurs because I had to select domain2 because NetBeans says domain1 is already registered on my local machine. I wanted to have a local domain1 and a remote domain1 that are identical so I can test locally, and then deploy remotely.
This error message could be misleading, because it is the same when IP adress of glassfish server in netbeans settings is wrong (not port).
By my experience with this over win 8.1 + Netbeans 8.0 + Glassfish 4.0
The problem resides in permission of folder in windows that block the server execution
I solve the problem changing the permission of the glassfish/domain/domain1 folder for xxxx/user to totalcontrol
If this not solve your problem, try launch the server over console:
asadmin start-domain --verbose
And read the exceptions to try solve the problem.
-EDIT:
Reading other post to try help:
like this: Glassfish server started failed in netbeans 6.9
Or check your firewall:
allow >> C:\Program
Files\glassfish-X.X\glassfish\modules\glassfish.jar
In my case when using the command
netstat -aon | find ":4848" | find "LISTENING"
I noticed that one process was occupying this port. When checked what it was I noticed it was VMWare NAT controller, because I previously had configured a network adapter to listen to this port.
Just stopped all VMWare related services (in my case I didn't need them for development purposes), and solved the problem.
Go to Task Manager -> Services -> Stop Process whose PID IS 3136,2268,2468 ,23.... and near Range in PID. All processes near to the web server's PID.
It works for me on Windows 8.1 pro & Windows 7.
I had the same error message.
Turned out it was caused because my firewall blocked port 4848
May be late but I solved this issue by deleting the app server from the Netbeans and by adding it again. In my case Netbeans 8.2 and Payara 4.1 instead of Glassfish.
If you changed the host of Glassfish server then set it to localhost it should work.

localhost on WAMP gives "Unable to connect"

I have installed WAMP (Version 2.2 32 bit) on Windows XP SP 3. After installation, I get a "Unable to connect" message when I open localhost on Firefox.
Could someone point me to the direction of resolving this.
Have you also checked your HOSTS file
C:/windows/systems32/drivers/etc/hosts
It should have this line in it ( not commented )
127.0.0.1 localhost
If you see this line, without a comment
::1 localhost
either comment it out (add a # in col1) or remove it completely.
This is a IPV6 version of localhost and is not really required yet, but MS decided to be ready for IPV6 and add it to the hosts file.
Your WAMP Server might be offline. So,click on the Wamp icon in System tray and select 'Put Online'. Hope that ll resolve the problem .
The problem is perhaps too localized. Since I was trying it on Windowx XP Service Pack 3, and most new applications are probably giving up comprehensive support for Windows XP as its support is about to be dropped by Microsoft itself. A solution to the problem may not eventually exist.
I tried XAMPP and that worked for me.

debugging with netbeans and xdebug won't work - netbeans don't start browser

Try and error.. did not helped me after 2 hours even with "googling" around. No one seems to have my problem or there is a easy solution that i don't see.
My phpinfo() show xdebug just fine:
version 2.1
xdebug.remote_enable On
xdebug.remote_handler dbgp
xdebug.remote_host localhost
xdebug.remote_mode req
xdebug.remote_port 9000
My netbeans listen to port 9000 (but just on ipv6; may be this is the problem):
tcp6 0 0 :::9000 :::* LISTEN 5290/java
Netbeans is reachable through telnet:
$ telnet localhost 9000
Trying 127.0.0.1...
Connected to localhost.
But netbeans does not start the browser until i click the "stop" button. Then it opens up a browser with ?XDEBUG_SESSION_START=netbeans-xdebug. How to disable ipv6 for netbeans? I don't want to disable the entire ipv6 support (ipv6 support in enabled in phpinfo()). Any other ideas?
Version:
OS: Ubuntu 12.04 LTS
Apache: 2.2.22
PHP-CGI: 5.3.10
Netbeans: 7.2
Java: 1.7.0_05
I had the same problem as the browser not coming up and following is what fixed the problem.
There are actually 3 potential locations where you can specify the debugging port
Php.ini -- {xdebug.remote_port=9000}
In Netbeans IDE under - preferences - php - general {debugger port =9000; session ID= netbeans-xdebug}
In the run configurations - Advanced !! DONT set this one - it refers to 'Debugger Proxy' if you set this the browser window will not come up until you have maintained the same proxy settings in the netbeans - preferences - general tab.
PS: all of the above or on a Mac..
I had a bad run configuration in project. Netbeans was waiting for a debugging proxi on localhost:9000. I did not remember to set this setting. If someone has the same problem check this configuration too.
In my case the problem the project URL under Project properties in Run configuration was pointing to a subdirectory instead of the root directory of the server, after i changed to localhost everything was fine.
I found the answer after reading this article.
http://shinephp.com/netbeans-7-0-php-waiting-for-connection-to-xdebug/

NetBeans Remote Connection

I'm trying to set netBeans remote project and I'm having pretty much trouble with it. I've started a PHP Application from Remote Server and in the last confirmation step it throws error on me.
No files available for download. Try to check Passive mode in the remote configuration.
In the log output it fails there:
> 215 UNIX Type: L8
> PORT 192,168,5,217,196,73
> 500 Illegal PORT command.
Did anyone have same problem with setting up remote connection? Please help.
To establish an FTP connection, choose either of the options below:
Turn off the Windows firewall.
Configure Windows Firewall for a passive mode FTP server as follows:
Open an Administrator command-prompt.
Click Start > All Programs > Accessories.
Right-click Command Prompt, and then click Run as Administrator.
Run the following command:
netsh advfirewall firewall add rule name=FTPService action=allow service=ftpsvc protocol=TCP dir=in
Disable stateful FTP filtering so that the firewall does not block any FTP traffic:
netsh advfirewall set global StatefulFTP disable
This seems to be the top answer whenever anyone is looking for how to set netbeans into passive mode. Despite the advice always being "set the ftp into passive mode" for those using Mac OS and Netbeans you may never seem to find it.
Right click on the project
Select Properties
Select Run Configurations
Select Manage
Select your_ftp_connection on the left column
Scroll down
The only way I fixed this was to switch to using SFTP. This obviously requires that you've set up SFTP (FTP over SSH) access to your server.
In the Run Configuration, when it asks you for the Remote Connection:
Click on 'Manage'
Click on 'Add...'
Select SFTP as the connection type
Fill in the rest of the details as if it were a normal FTP connection.
Turning plain FTP Netbeans connection into passive mode solved the problem for me.
Please Check Passive Mode; i had faced the same issue; after checking it; resolve this issue.
There is no way to find the passive mode in a OSX. It's a Netbeans bug... So I won't be able to develop on netbeans using my Mac. Already tried to download last version.
For me the solution was to check Passive Mode on the client and to do following things on the server side
in /etc/vsftpd.conf
pasv_enable=Yes
pasv_max_port=10100
pasv_min_port=10090
then in terminal
iptables -I INPUT -p tcp --destination-port 10090:10100 -j ACCEPT
service iptables save
service vsftpd restart