FAQ Database Discussion Community


How check the restSecureServicesPort is available?

windows,service,server
I've installed a application with a service on a Windows Server 2012 R2. The status of the service is paused. When I start the service, he runs for two seconds and he's again paused. In the instructions from the manufacturer is written: Note: If the service shows as paused, check...

plesk when upgrading php, will this break everything?

php,centos,server,vps,plesk
I'm running a VPS with centOS, plesk 12 and PHP5.3. I'm looking to upgrade to a more recent version of php but without taking down all my sites running on that server. I've tried through the plesk GUI and got to this point which is ambiguous to what it will...

How to run multiple application on Grunt

angularjs,gruntjs,server
I have two applications say applicationA and applicationB and if I run following command on terminal grunt serve my one applicationA will up and work fine. when i need to run applicationB, first i need to stop applicationA and then i can run applicationB. If i try to run both...

Get Apache VHost to load index.html instead of web directory

angularjs,apache,server,wamp,host
I'm having no luck finding this question answered so I'm asking this myself. To get my VHost working, I followed this answer. My (working) "httpd-vhosts.conf" file looks like this <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "Z:/Projects/Web/MetalTxus Site" ServerName metaltxus.test ServerAlias www.metaltxus.test <Directory "Z:/Projects/Web/MetalTxus Site"> #Options FollowSymLinks Options Indexes FollowSymLinks AllowOverride All...

Rails server gives error when I load localhost:3000 [duplicate]

ruby-on-rails,ruby,server
This question already has an answer here: Rails 'parse_query' error on server in brand new app 2 answers So, I have started learning ruby on rails, I used following command to create a ROR project: rails new blog next I write following command to run the rails server: rails...

Sending image from client on java to server on python

java,python,mysql,sockets,server
I have been trying to create a program that runs a client in Java and the server in Python. My overall goal is to upload a picture from the client on Java to the server on Python and store it on a mysql server. I haven't tried yet to convert...

multiple send from server to client python

python,file,client,server,sha
First I am sending the requested file from the server to the client and after that I want to send the computed sha of the file from the server to the client, so that the client can check if both the sha from the sent and the received files are...

What is difference between Tomcat and TomEE, TomEE and TomEE Plus

tomcat,server,tomee
I want to deploy EJB ear in a server so I really confused about choosing a server out of tomcat, TomEE and TomEE Plus. What is difference between Tomcat vs TomEE? What are new in TomEE and TomEE Plus? In Which case we have to go for TomEE and TomEE...

Rasterization with Javascript looks different on Apache server

javascript,apache,phantomjs,server,rasterizing
I am using phantomjs to rasterize an html page that I'm creating dynamically with javascript/php. It looks fine when testing on my localhost, but when testing on an apache server, it appears to blow the image up, causing it to be formatted wrong (extends to two pages instead of one,...

My website won't open unless I add “/index.html” to the end of it

html,server
My Website was finally live when I realized that I can't get to it unless I add "index.html" I think I know what I did but I don't know how to fix it.... I deleted the "index.html" file from my server to start all the way over and then when...

Opening Foxx API to local network

server,arangodb,foxx
I have setup serverend points they work for the web interface fine but the api endpoint for my for app do not even give a error and does not time out. I have tried turn the app to production mode in the web interfaces no joy. I look at the...

JAVA: RMI Callback -> object already exported

java,callback,server,rmi,stub
this is my first question, so sorry if i'll make it incorrect and for my english. I have to do a distributed-hangman project in java, there are guests, players and masters (more matches). When a user(already registered) log himself or when a master open a match, the server must notifies...

How to deploy three config server instances for sharding in mongodb?

mongodb,server,cluster-computing,sharding
I am a newbie in MongoDB. Also I have not much knowledge in networking and servers. I am trying to deploy sharded cluster in mongodb using this article. It says I need to deploy three configuration server instances and create data directories for each. I can create a data directory...

How to output PHP as text

php,html,server
I'm making a small application to let me edit files from my browser. Typically these will be PHP files. I'm trying to figure out a way that I can have PHP on the page whilst printing the contents of the file as text/plain so they are not executed. I've looked...

Timing packets on a traffic server

python,unix,networking,network-programming,server
I have a proxy traffic server which is an extra hop on a network and is handling large quantity's of traffic. I would like to calculate the cost in seconds of how long it takes for the proxy server to handle the incoming request, process them and forward it on....

php server ERR_CONNECTION_REFUSED

php,mysql,apache,localhost,server
I can't make a php server run on my local computer. I tryed with wampserver and Easy PHP. I checked the usage of my port:80, I changed the port from :80 to :8080, I gave Apache and mysql the permissions required on the firewall settings... I did everything, but when...

Scheduled SQL Server Data Export to CSV using SQLCMD

sql-server-2005,cmd,server,bcp,sqlcmd
This is my command line: sqlcmd -S DEVSERVER\SQLEXPRESS -i c:\SQL_Query.sql -o c:\CSV_Output.csv -s”,” And my sql script: SELECT * FROM dbo.pay The file with this error message: Msg 208, Level 16, State 1, Server DEVSERVER\SQLEXPRESS, Line 1 Invalid object name 'dbo.pay'. ...

Wordpress wp-config file better security

wordpress,.htaccess,server
I have few questions regarding the wp-config.php file in Wordpress. I moved the file from the wordpress installation directory, above the www directory and inside one of the home folders. I followed this tutorial. In the main wordpress directory i added another wp-config.php file with the following include path: <?php...

send email according time and date [closed]

php,apache,email,server
I am facing a problem with sending email about status. Basically I want to create script which send email every morning with some data from database. My goal is to write PHP file which will send email. I can create this file but I dont know how to call this...

Configuring client throughput in simple TCP server

python,tcp,server,echo,tcpclient
I was given a sample project which goes like this: Client A connects to server B. A sends packet to B, B returns the same packet to A. Client A sending throughput is configurable Measure turnaround time per packet. Now step 3 is what is confusing me. Using python, the...

How to test java server without deployment?

java,webserver,client-server,server,web-deployment
Is there a way that I can test my java server on my computer without deploying it to a real server? I know php had wamp and lamp but what about java?

First time use of ruby server - Command gives no response

ruby-on-rails,ruby,server
I just set up my Ruby server, it appears successful as I am able to see the welcome page at localhost:3000. I am following the beginner tutorial at http://api.rubyonrails.org. The very first command I'm asked to enter is $ bin/rails generate controller welcome index The terminal simply goes to the...

Get host computer information from within R code

r,windows,server
I'm developing an R script on a local machine and intend to use in in the future on a server. There are slight differences in initial setup of section of the script depending on the machine used, and what I'd like to achieve is to use some control sequence in...

ofstream not outputting when I don't have a endl c++

c++,sockets,client,server
I have a client/server socket program that writes packets of file data in a char[2048], I've made 100% sure to null terminate all of the arrays before sending over the socket. However on the server side I can't get the ofstream to output to the file if I do not...

Haxe server-client exchange on all platforms

sockets,websocket,client,server,haxe
I'm developing client-server application on haxe. I want client side to be compiled to javascript from haxe, but there is a big chance, that other languages will be also needed. I cannot find universal way of doing it. Though, I can make it with websockets, when it comes to jabascript,...

How to check weblogs in IIS

iis,iis-7,server,windows-server-2008,windows-server-2008-r2
My application is deployed on IIS 7. I want to check the number of failures as my logic is getting failed at some point and getting errors.Is there any general weblogs in IIS.I can only see system errors in the event logs. Is there any web logs?

Exception in opening a socket at my IP address

c#,sockets,server
I am new in socket programming C#. I am trying to make a chat server between two computers but I am unable to do that because I cant start my Socket..... I gave the Server Program my IP address but gives me an exception... "The requested address is not valid...

Can I run the Meteor DDP Server protocol on a Java server?

java,meteor,server,ddp
I am implementing real time features in an application and I would like to know if instead of reinventing the wheel if there is a Meteor DDP protocol implementation in Java.

What's the ideal cloud storage for String Objects?

android,login,server
In my app I would need a way for users to log in. Once they log in point balances are kept and synced with the cloud. The only things that would need to be stored in the cloud are String userID, String Points, and String Password. I have no clue...

Apache - finding configuration file path

windows,apache,server
I have to migrate another apache instance from 2.2 to 2.4 but I have one problem. In Apache monitor I see multiple services running but I don't really know where apache .conf files are stored. In previous migrations from 2.2 to 2.4 I had them somewhere within conf folder. Apache...

How to deploy a python project with Nginx?

python,nginx,socket.io,server
I have wrote a client.py and a server.py, they talk to each other with socket(not websocket) TCP connection.This is a C/S application. Now i want to use nginx to deploy the server, but i dont know how to do. I have look through some material about nginx, which is only...

Why background-image:url() replace slash bar on url?

php,mysql,server
I'm trying get a url from MySQL database and display on <img> on PHP file, I get url perfect but when I put on background-image:url always disapear slash bar /. My database with url My code I get from database url using a query and I put: my generate code...

Fetch as Google 'Unreachable' error

ubuntu,laravel,server,lamp,google-crawlers
I just pushed a new version of my site to the server. It seems to be working fine, but I'm getting Google crawl errors and when I try to fetch as Google, I get an unreachable error. Here's the Google bots latest attempt in the access log: "GET / HTTP/1.1"...

How to distribute the server Load

c#,sql-server,server,asyncsocket,distributed-system
I'm trying to get my head around this... I have an application composed of one Server(basically a N tier console application with TCP Async socket programming in C#), One MSSQL database and several clients. Now the problem is thousands of clients is connecting to this server at the same time...

Needs advice for buying Web Server [on hold]

web,server
Are there any guides for buying web servers and setting them up? I am going to just be making basic websites.

Not receiving response from server: Java.net.SocketException: recvfrom failed: ECONNRESET

java,android,mysql,web-services,server
I am trying to read data from the server based on the input given by the user. I am receiving the socket exception when trying to read from the server. Please any on let me know what mistake am I doing. I am trying to execute the application from my...

The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access

server
I run this url http://example.com/report/district-master-report-1.html Show error are as under 405 - HTTP verb used to access this page is not allowed. The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access....

Use Sockets in multiple *.cpp files

c++,sockets,server
As you can see in the Title box, I´d like to find a way how to use my sockets in multiple cpp files. #pragma comment(lib,"ws2_32.lib") void main() { WSADATA wsaData; WSAStartup(MAKEWORD(2,0), &wsaData); SOCKET slisten,client; slisten = socket(AF_INET,SOCK_STREAM, 0); //and so on... } This is the way I use the ws2_32.lib...

“Algorithm negotiation fail” error in JSch when trying to connect to Symantec NetBackup - grabing reports remotely

java,ssh,network-programming,server,jsch
I have been searching online and found similar posts but could not find a solution reading them. I am trying to connect to NetBackup servers using ssh from my computer and run a report and create graphs based on them. I am doing this using java and JSch library. The...

How to run a website that uses npm to start the server

node.js,installation,website,server,setup-deployment
Me and a few friends have been working on developing some experiments. I want to put them up on a URL so we can all share them with other people. I however, have no experience setting a server up for anything other then static web pages. Within my package.json file...

Basic HTTP server w/ Node JS

node.js,http,server
I'm in a bit of a predicament. I'm new to coding in general, and this is my assigned program for my JavaScript class this week. We are supposed to create a web server that serves files from a file system, that also implements Node modules. It must be able to...

I have a server application that gets data exactly half the time. Why/how does this happen and how do I fix it?

c#,tcp,server,packet-loss
So my server and chat client are made from 2 different C# TCP tutorials.You may recognize 1 if not both of them and I have made my own modifications to them to fit my own style. When I tried both they worked perfectly fine with 0 loss, but my version...

Server Side Implementation of requestAnimationFrame() in NodeJS

javascript,node.js,client,server
I have some questions regarding the wildly used requestAnimationFrame() functions. Recently I came across some implementation in multiplayer games who used it on the client instead of the server side. Is there any benefit in doing so? Can you reference me to any "best practices" server side implementation in NodeJS?...

Reading packets from a client stops after 1 or 2 received

c,linux,sockets,server
I'm writing a server program in C that will read commands from the client. Commands are in the form of 5 byte packets, and the client will be sending a bunch of them in succession. The code I have to read each command is: while(1) { char buffer[1024]; int alreadyread...

How can i block some webpages in my website for users, so that they can not open them directly from browser?

php,jquery,ajax,server,hta
i have some pages which will be used internal ajax post form processing. like these <script type="text/javascript"> function tab(x) { var x jQuery.ajax({ type: 'POST', url: 'catagory_tab.php', data: { y: x }, success: function(html) { $("#result").html(html).show(); } }); return false; } </script> now if a user sees my webpage source...

Python Networking

python,networking,client,server
So I have create a socket and am using the function socket.bind() and keep on getting the following error: Only one usage of each socket address (protocol/network address/port) is normally permitted Here is my code: import socket s = socket.socket() host = socket.gethostname() port = 12345 s.bind((host, port)) s.listen(5) while...

Generate Web Pages For Git Repository?

git,web-services,github,server,webpage
I believe a similar question to this has been asked before but its not quite the same. I would like to host a private git on a server, and generate web pages based on it with all the nice statistics and stuff similar to github (does github have an api...

AWS EC2: Migrating from Windows to Linux Server

linux,windows,amazon-web-services,amazon-ec2,server
I am currently using Amazon Web Services EC2 Windows 2012 instance for my application. I want to migrate over to an EC2 Linux server. What's the best way do this? I have been unable to find sufficient resources on this topic. We are currently using Hibernate and Spring frameworks with...

jqgrid paging on server side

jquery,jqgrid,server,paging
I'm trying to add server side paging to my grid. In adittion, I have a filter by 'license', 'number' and 'group'. When I press the next page button the controller is called and I obtain the data but my grid is reload on page 1 and I cant view the...

GET and PUT commands with C++ Server-Client

c++,sockets,client,server
I'm trying to create a server, client put and get method but I don't really know where to start, how do I make the server run the commands I process. Any help would be much appreciated. Client file void Copy(char *filename1,char *filename2); int main(int argc, char **argv) { if(argc ==...

JBOSS 7.1.1 server hangs during the compilation of jasper reports

java,jboss,jasper-reports,client,server
My developer server is JBOSS AS 7.1.1 final and I have an app where I make dynamically an jasper report based on some arguments with these basic operations(download, compile, export to pdf, encode to base64, display on screen). The thing is that on my JBOSS it works perfectly, but when...

How can we improve SSL handshake to increase the security?

security,ssl,encryption,server,cl
During SSL handshake, the server send the client its(server's) public key and then client creates a session key and encrypt it with the server's public key and send it to the server. The server then decrypt the message with its private key and retrive the session key. The further communication...

Redirect omitting parameters in .htaccess

apache,.htaccess,rewrite,server
After a couple of hours of fighting, I manage to generate an htacces file to redirect all my old URLs to the URLs of my new site (same domain). I am using the following rules to manage my subfolders redirects (my new site has only a couple of pages): RewriteRule...

TCPIP Asynchronous Server connection dropout

c#,asynchronous,tcp,server
i have written(Copied) code for a tcpip server. We have software that sends a message via TCPIP and expects a return message back to say Receive is Acknowledged. This works fine. But after sending the acknowledgment the connection drops out. I am not sure where in the code this dropout...

Preventing brute-force login attempts [closed]

security,server,accounts
I want to prevent hackers to break into my users' accounts. It is often said that: The best approach it to lockout an account temporarily after x failed login attempts. I understand this and it seems like a good idea. Using IP for example is a very bad idea -...

Organizing multiple requests to a server

algorithm,request,server
I have some trouble even defining the problem. But the setup is this: There are multiple devices that have to push data to a central server. We are talking about 2-3k devices. The question is how to organize the request and the retries in case of failure, so that we...

website not working after moving from local to the server

php,.htaccess,codeigniter,server
am using codeigniter 2.2 and my os is ubuntu 14.04 . I have developed a website using codeigniter on my localhost. it was working fine. now i have moved the site to the real server http://hotlunchorders.com/. i am getting the error. Internal Server Error The server encountered an internal error...

Call function on Server from iOS app - Objective C

ios,objective-c,json,server,backend
If you are familiar with Parse.com's Javascript SDK, this is what I am trying to do for my own server for my iOS app (Objective-c). I want to be able to send some a string to the function that is on my server, have the server run its function and...

Need advise for login, user's data input/output implementation design for PHP

javascript,php,authentication,login,server
I need some advise on PHP and web app, and I want to create a system that allows user to login and write/read their text. Imagine a simple website that each user can write or read only one simple text file. Suppose the user successfully logins to the website, the...

SSH connection problems in JSch

ssh,network-programming,server,jsch,public-key-exchange
I am trying to connect to a server using JSch. I get the "Negotiation fail" error. I checked the sshd_config file and got the following info: UsePAM yes PasswordAuthentication no Ciphers aes128-ctr,aes256-ctr,arcfour256,arcfour,aes128-cbc,aes256-cbc AllowTcpForwarding no PermitRootLogin no The rest of the scripts are commented out. As you see it doesn't mention...

How to get server information from VMware

server,vmware,vsphere,powercli
I have access to the VMWare GUI and I can easily export all the columns such as UPtime, IPAddress, Notes, DNS, GuestOs, State, Name and so on. I want to right a script that can automatically get this information daily. So gar I was only able to get the server...

Symlinking unicorn_init.sh into /etc/init.d doesn't show with chkconfig --list

sinatra,server,unicorn,centos6
I'm symlinking my config/unicorn_init.sh to /etc/init.d/unicorn_project with: sudo ln -nfs config/unicorn_init.sh /etc/init.d/unicorn_<project> Afterwards, when I run chkconfig --list my unicorn_ script doesn't show. I'm adding my unicorn script to load my application on server load. Obviously, this is not allowing me to add my script with: chkconfig unicorn_<project> on Any...

OpenSSL socket: Select always returns 0

c++,sockets,select,openssl,server
I made a small socket echo server with a blocking socket (see code below), but the select statement always returns 0 even when there is a message to be read. Everything else works. If you replace the select statement by simple assigning 1 to selectResult, the server works. The server...

Connecting Ms Access Db to Mysql through Vba

mysql,vba,server
I have been trying to connect mysql database to ms Access but no result.I don't think personally I am using the DAo.Connection and the workspace properly. I keep on getting the 3001 connection error when I set mySqlCon. I guess my arguments are not properly set but I was following...

Client server on external ip's and different networks android

android,client,server
I wrote a client server application that works only on the same network. Is it possible for a client implemented using sockets to connect to a server's external ip (also implemented using sockets..) and/or on different networks? I used to think its possible, but Its just not working... I'm telling...

Only allow certain countries traffic access specific page

nginx,server,geoip,system-administration
I am using --with-http_geoip_module for identify traffic. There are some pages that I only want certain country to access. Here is configuration: For http http{ geoip_country /usr/share/GeoIP/GeoIP.dat; # the country IP database map $geoip_country_code $allowed_country { default 0; US 1; UK 1; HK 1; } } The location directive: location...

How would I send data from client side to server side and back in Node.js?

javascript,node.js,server
My friend and I are creating a chat server and he is hosting it which means he is admin and he is the one who kicks people, but I am supposed to be admin so I am trying to add a /kick command with a password so I can kick...

“Foundation” framework can be used in AppleScript on Yosemite but not Mavericks

applescript,server
I've written an AppleScript library that makes use of the "Foundation" framework. On one computer (with Mac OS X Yosemite), everything runs fine. On my other computer (which runs Mac OS X Mavericks), I'm getting an error. When digging deeper to check what the issue is, it seems that the...

how to set permission in Git?

linux,git,server
I am new to Git and after I lots of searching I found that I must have set Linux permissions in my Git server. But I want to know, is it possible to set permissions in Git? I am working on a team about six people and I don't like...

Redis Cache .Net Client

.net,redis,server
Does anyone know if Amazon supports C# client libraries for making calls to Redis Server? I know service stack and stack exchange are the only two libraries right now, but Amazon makes no mention of them at all.

Scheduling scripts with variable frequency

linux,shell,cron,server
I want to run a python script on a ubuntu 14.04 server with following frequency: Monday to Friday: From 0800 hrs to 1600 hrs: Run once every hour From 1600 hrs to 2300 hrs: Run once every 30 minutes Saturday and Sunday: From 0800 hrs to 2300 hrs: Run once...

How to store php form data to a web server in a plain text file?

php,forms,server,storage
I have an assignment that calls for data entries from a php form to be stored in a plain text file on the same web server. I created the php form page and the plain text file but I am unsure how to connect the two. I've searched the internet...

Error when run jekyll server on windows 7

ruby,server,jekyll
I'm trying run Jekyll server in my local machine, so when I run jekyll server in terminal, returning fallowing message: $ jekyll serve Configuration file: C:/xxx/Site/_config.yml Source: C:/xxx/Site Destination: C:/xxx/Site/_site Generating... c:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/posix-spawn-0.3.11/lib/posix/spawn.rb:164: warning: cannot close fd before spawn 'which' não é reconhecido como um comando interno ou externo, um programa...

What's a Cluster / Bucket in couchbase Server

server,cluster-computing,couchbase,bucket
I'm new to Couchbase and NoSql technologies in general, but I'm working on a web chat application running on node js using express and some other modules. I've chosen to work with NoSql to store sessions and all needed data on server-side. But I don't really understand some important features...

Easiest way to get list of files in the server directory

javascript,php,image,server
I need to get array of all images (or simply of all files) in directory (e.g. www.example.com/images/). I prefer to use JavaScript but it's hard to make. So should I use PHP, meybe? Could you please help me - I'm not good at this. Thank you very much!...

How do I run C# within a Node.js server application?

c#,node.js,server
I have a node.js application and a C# algorithm. The algorithm puts out 15 numbers that represent symbols on a digital slot machine. The node server is posting and getting data from Firebase and the digital slot machine is doing the same on the same table. My question is how...

How can I run a libGDX application on a non-GUI server environment?

java,linux,ubuntu,libgdx,server
I built a libGDX application that runs well on my PC desktop but when I try to run it on my Ubuntu server, it raises the following error: "LwjglApplication: Couldn't initialize audio, disabling audio java.lang.UnsatisfiedLinkError: /tmp/libgdxroot/31ce78a2/liblwjgl64.so: /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/../lib/amd64/libjawt.so: symbol awt_Unlock, version SUNWprivate_1.1 not defined in file libmawt.so with link time reference"....

A backend framework for a tinder - like application,? [closed]

java,android,server,tinder
I want to develop an Android and IOS application which is very similar to Tinder. I wonder what backend framework would you suggest me to use? (by saying backend framework I mean to Google Cloud messaging or FireBase, For example). I really don't know what is the best for me....

how to upload php website into remote server

php,mysql,server,web-hosting
I am new to deploying websites to a remote server. I have been searching for the steps that I should follow to do that for a long time but have not found any results. here is what I have done 'til now: 1- I used a free web hosting called...

Disconnect Session via Powershell [closed]

session,powershell,user,server,disconnect
Is there a command to disconnect a user from a session on a server via PowerShell? To logoff i use: Logoff /server:<Server> <SessionID> ...

What urpmi source can I use with Mandriva Entreprise Server 5.2?

linux,repository,server
I have to install several packages for a customer on an old server using Mandriva Entreprise Server 5.2 (MES5). I have asked my customer for the DVD-ROM but he didn't find it, so I would like to know if there is an online compatible repository. I have found several repositories...

Desktop Database with Server without installation

java,database,server,desktop,h2
i have Java-Application that growth a lot over the past month. All configurations from the programm and all the logs are stored in .txt or .log files. The programm should change now. The user could install the programm on his own pc but the programm itself should get all the...

Save file to server for each user [closed]

php,html,file,save,server
I created website which currently has only login function. I want to make so every user can edit txt file and save it on server. But I want to make it private - user can see only their file. Do you have any ideas what I will need and how...

C# Multi threaded Server

c#,multithreading,sockets,tcp,server
I have this client and server code. Client: namespace ClientTest { internal class Program { private static TcpClient client; private static NetworkStream stream; private static void Main(string[] args) { string temp; client = new TcpClient("192.168.1.2",5052); stream = client.GetStream(); Console.WriteLine(client.SendBufferSize); while ((temp = Console.ReadLine()) != "exit") { Send(temp); } Thread one=new...

Heroku, schedule new Dyno sleeptime

heroku,server,dyno
With the announcement of the new Dyno pricing on Heroku I had some questions about the mechanics of the new free Dyno. I was wondering if it was possible to schedule sleep time for a Dyno. This way I could make sure that my application is down while most of...

how to create unkown amount of threads c++

c++,multithreading,client,server
I wrote a server c++ that connect to clients and i want to use thread in order to do some actions and with some clients and not to do only one client finish and go to another client. but i cant create unknown amount of theards only specific. can sombody...

How to connect from your iOS app to a backend server? how to read,modify and fetch data to backend server?

ios,objective-c,server,fetch,backend
I am new in developing iOS application. I like to learn communication between my app and an specific back-end server(which is written in ruby). I would like to learn how to read, fetch and modify data on back-end server? I do not have any idea that from where I should...

PHP - Interpret

php,server
This question already has an answer here: How to enable PHP short tags? 15 answers On ours servers are some old scripts which still uses <? instead of <?php and when I download it to my machine at localhost it's not being interpreted, instead it just echoes the code....

Python Multiplayer noughts and crosses [closed]

python,http,client,server,multiplayer
So I made a single player noughts and crosses in Python a little while ago in school. score=[[' ',' ',' '],[' ',' ',' '],[' ',' ',' ']] global attempts attempts = 0 from random import randint from time import sleep def grid(): #draws playing grid hideturtle() speed(0) pensize(0) penup() setpos(-200,...

Server program gets stuck at accept function

c,multithreading,server
I am working on a server application in C using Pthreads(Linux).Everything works fine, clients can connect with the server and transfer data. The problem being faced is that my software keeps stuck at accept till it does not receive a new request from a client. Here is my code: while((connfd...

Difference between Websphere Application server and Websphere commerce server

java,server,websphere-7
We are trying to install a patch to the Websphere Application Server. But have got the instructions for Websphere commerce server. so just wondering if both are same and the same instruction can be applied. Do we need root access for doing any Websphere installation or owner access to the...

How can I monitor an endpoint's status with Ruby?

ruby-on-rails,ruby,server,endpoint
I have several endpoints that I would like to monitor using Ruby. I would like to get their status codes (e.g. 200). I currently do this in this way uri = URI.parse("http://example-domain.com") response = Net::HTTP.get_response(uri) status = response.code However if the URL is not valid the process errors. I would...

How to save my data in a cloud?

google-drive-sdk,cloud,server,dropbox
I don't know if this is possible, but I would like to save some data of my website, like images and documents in a cloud like dropbox or google drive and I want that these data are available and visible to someone looking my site. is it possible? (My intention...

An algorithm for setting one server as the master among several?

c#,algorithm,server,master
Using C#. Wondering if anyone out there has any advice or examples on a good algorithm for guaranteeing one and only one server be set as the master among several that start up at the same time? What I have come up with is the following, but the snag is...

PayPal API QueryParameters not found

c#,paypal,server
I copied and pasted a section from here (You will have to scroll to the top - click C# on the right and scroll down/refresh) and have installed the PayPal API into the project Install-Package PayPal but QueryParameters is not found - is there a second part or something...

Does'nt Liferay work at different ports?

liferay,server,portal
I have developed a portal page using Liferay and the port number is 8080. I wanted to test SSO, I decided not to try with the existing one as there might be some problems and I might end up crashing the whole thing. As a result I downloaded a new...

403 Error when trying to remove products from Cart

php,server,e-commerce,opencart,cpanel
I am using a cPanel host and running PHP 5.5. Opencart version 1.5.1. When I try to remove a product from the cart I am getting a 403 forbidden error. This only seems to happen with products that have a lot of options and include text input options. I have...

node.js server won't start

node.js,server
I'm trying to run this extremely simple example of a server with a command 'node server.js'. This gives the message that the server is running, however, when I visit 127.0.0.1:3000 or localhost:3000 in Chrome it looks like it's stuck(rendering icon spins continuously). Code: var http = require('http'); var server =...

how can android app read data from database on the server?

android,database,server
I have database on a server, and I have the username and password to access to this server. My question is: how can my android app read a table from a database on a server? I know, this question was asked, but I did not found any code or any...

node.js app runs fine locally but won't run in modulus

javascript,node.js,server,modulus.io
At first, I made a post on the modulus site itself however I think it;s community is not very active, so here is what it contained: The app, when I attempt to load it bu the URL will say either of these in the document: Not Found or Unable to...