Can't connect to yesod server - yesod

I followed this tutorial, and I've tried it on Windows 8, a clean install of Windows 7, and Ubuntu (all on the same computer and router). It works on Ubuntu, but the browser fails to ever connect to localhost:3000 (or any port I specify in the code) with Windows 7 and Windows 8. However, connecting to ruby on rails at localhost:3000 does work on Windows 7 and Windows 8. So far, I've played around with the hosts file, running as administrator, using ghc, using yesod devel, firewalls, and more. Nothing has worked. I assume given these constraints that it's a bug in yesod, but maybe there's a hack around it.

I believe there was a bug for a few days with the version of Warp on Hackage which prevented it from working on Windows. Any more recent version of Warp should work correctly.

Related

Localhost Coldfusion install showing cfquery parameters on page (Not speaking with ODBC)

Goal:
Run cfquery of remote server on local Coldfusion install.
Problem/Symptoms:
The cfquery parameters are printing onto the screen, instead of running query on remote.Example of cfquery parameter printout on screen
Facts:
Running Mac OS X Mojave (10.14.3).
Coldfusion is installed. I can access the CF Admin panel at http://localhost:8500/CFIDE/administrator/index.cfm
Data Source is installed in Coldfusion Admin and status is "OK"
Using Mamp Pro 5.3. It's running -- can start and stop Apache.
Apache is running on port 80
Updated ODBC Actual SQL Server drivers (Version 4.2.0 from ActualTech). Tested connection to server with driver and it is working.
Remote database is using port 1433
I'm sure there are more questions to answer, but hopefully that's a decent start. What am I doing wrong?
Update: 3/17/2019
Feeling stuck here. I've uninstalled and reinstalled CF2018 and MAMP Pro. I've used the wsconfig applet for Adobe Coldfusion (ACF) as described by Brian Lang and I've also tried the manual approach as described by Adobe.
Update: 4/19/2019
I may have figured this out, now that there is a release of Mac OS 10.14.4. Going to test it on another computer to confirm that the process works and that I have all the steps documented, then will share answers.
The solution to this problem had to do with a conflict with Mac OS X and Coldfusion/Apache. Because Mac OS X 10.14.4 fixed the "mod_jk" file that was conflicting with Apache, Coldfusion 2018 can now run on Mac OS X.
In order to solve the problem, I needed to:
upgrade Mac OS X to 10.14.4
stop all other servers
install Coldfusion 2018
set up Coldfusion Apache Connector
set up local virtual host
I confirmed that it worked on another computer, and have documented detailed instructions in this post: https://www.steckinsights.com/configuring-coldfusion-2018-with-apache-on-mac-os-x-mojave/
Fair warning: I think that the mod_jk issue in Mac OS 10.14.3 and prior was the issue, but there were so many different aspects I tested in the process, that there may be unique issues related to your particular computer's configuration. I hope hope this helps anyone out there having issues.

Do Monaca Build Windows Apps Work on WIndows 10?

I built an app in Monaca, and have successfully deployed and published it on google play and the App Store. I know I have to sign it with visual studio to publish it in the windows store, but can manually install it using powershell for development purposes. However, even though it works on android and ios, it crashes immediately after launching in Windows 10. I read over the documentation, and my question is: Is it even compatible? Everything in the documentation is either outdated or stictly for windows 8.
Yes they are compatible. I finally installed and ran it successfully.

Webserver not working on OSX Mavericks

I was running a webserver and also Coldfusion just fine until I upgraded to Mountain Lion, then it stopped working. I got it working again by turning everything back on that the upgrade disabled, but now I have upgraded to Mavericks nothing is working. I have followed all the steps in various web articles but it won't work. PHP is enabled, everything that was enabled before is set up, including virtual hosts, and all the folders are in the same place.
I get the error: Firefox can't establish a connection to the server at 127.0.0.1. [or localhost, or any of my virtual hosts]
I've gone over everything time after time and I can't figure out why it won't work. I have started, stopped, restarted the webserver numerous times, it is set to start on bootup too. I couldn't even complete the Coldfusion install because I couldn't load the administrator in a browser.
What could the problem be? Where should I look?
This is not a complete answer, but this should help get things started
Try using the command line start. It will probably be complaining about Java 7 not being installed. I recently needed to install Java 7 JDK (not JRE to get things running)
I know to get the rest of it running, I need to point ColdFusion at the proper JVM. You can find the JVM settings at /Applications/ColdFusion10/cfusion/bin/jvm.xml. You should have some setting like
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
java.home=/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
application.home=/Applications/ColdFusion10/cfusion
When you install Java 7, the JRE is at
/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre
Backup, and edit the jvm.config file to
#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
java.home=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre
# java.home=/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
application.home=/Applications/ColdFusion10/cfusion
If all goes well, you should be able to start ColdFusion
Some additional help
Installing Java on OS X 10.9 (Mavericks)
When you install Java 7
Just saw this thread. ColdFusion 10 is now supported on OS X 10.9 Maverick with the release of CF10 Update 13.
This should work for you now.

Can you install vmware server 2 on the Windows 8 preview?

Apologies if this has been asked already, searching the web reveals lots and lots of threads about installing the Win8 beta on VMware but not the other way around.
I am trying to install VMware Server 2.0.2 on a Windows 8 Preview machine. It appears to install correctly but I cannot then reach the web based homepage to configure virtual machines, i.e.
https://localhost:8333/ui/
gives the error that the "connection attempt to localhost was rejected. The website may be down or your network may not be properly configured".
Has anyone had any success running VMware Server 2.0.2 on Windows 8 Preview? If so were there any gotchas you needed to avoid?
I don't think it will ever be resolved. VMware Server was declared End Of Availability in January 2010; There will be no support for Windows 8.
Your best try would be trying launching the services in compatibility mode, but why would you do that? Why not use the much more advanced VMware Player or VMware Workstation products?
I've found a way to run it on Windows 8.
On my PC with a x64 version of Windows 8, when I installed VMware Server 2, I found there was a service called VMware Host Agent that cannot be run. When I opened the system Service Manager and clicked to launch this service, it gave me the error.
My solution is to create a service with the same command string and set it to start automatically by using the "sc create" command in cmd.exe. And it worked for me!

What is the difference between installing WampServer versus components

What are the differences between installing an Open Source package that I found called WampServer versus installing each component separately (Apache, PHP, MySQL)?
I will be installing this on a Windows 7 laptop which is for development purposes. The production machine is Linux although I've never had problems in the past just picking up my php code from a Windows machine and putting it on a linux machine.
Thanks ahead of time for the replies.
Wamp is for quick setup of a developement enviroment. Wamp is also configured on a low security level. If you have an other production system, there is no need to install all the components separately.