All Questions

Tagged with
Filter by
Sorted by
Tagged with
16 votes
4 answers
81k views

Access to a site on localhost from remote

I use to develop my project on my localhost, on apache in ubuntu machine. Sometimes i need to show progress to my costumer. Is it possible to access to localhost from remote machine?
Salvatore Dibenedetto's user avatar
12 votes
1 answer
12k views

Mitmproxy url filter [closed]

I am using mitmproxy on Mac. I want to filter traffic by specifyc URL. The "intercept" function allows me to pause communication whenever filtered url is noticed. My question is - how can I filter ...
EdgarY's user avatar
  • 164
12 votes
2 answers
10k views

Create separate Unity project for headless server

I want to create a headless server that handles my multiplayer game. This will be more a proof-of-concept project, but basically I just want to have multiple players (lets say 3) to move a box around. ...
Phytochrome's user avatar
7 votes
2 answers
40k views

How to send a message from client to server in python

I'm reading two programs in Python 2.7.10 with client and server. How can I modify these programs in order to send a message from client to server? server.py: #!/usr/bin/python # This is ...
Stamatis Papadopoulos's user avatar
7 votes
3 answers
15k views

How to Check if Axios Call Fails due to No Internet Connection?

I'm trying to figure out an accurate way to detect axios call failure due to no internet connection. Does axios call failure return a specific response object or specific response status code or ...
kaizen's user avatar
  • 1,620
7 votes
1 answer
9k views

Side effects on a periodic git fetch

Let's say i have a code like this: git fetch && git diff origin origin/master --quiet || echo "untracked" And i want it to run periodically. Let's say, once a second, or once per five ...
Lucas Meine's user avatar
  • 1,559
7 votes
2 answers
5k views

Java Socket connecting to a public ip-address

I need to make a server and client that connects to the server. Problem: "the server works. the client can only connect to localhost, it cannot connect to a server on the internet. I want the client ...
GabeTheApe's user avatar
6 votes
1 answer
399 views

iPhone application connection to server in offline network

I am developing a system which has a simple Java server in a private network without Internet connection, a Wifi router that lets mobile devices connect to the network and server, an iOS application ...
Fried Rice's user avatar
  • 3,463
5 votes
1 answer
24k views

Corrupted MAC on input. ssh_dispatch_run_fatal:message authentication code incorrect unable to ssh jupyter notebook on remote server [closed]

I was trying to connect to my jupyter notebook which is running on my remote server so that I can access it on my local windows machine. These were the steps that I followed. On my remote server : ...
Himanshu Poddar's user avatar
5 votes
4 answers
5k views

Client not reading data from socket?

I have spent a while reading other posts, and nobody seems to have the same case as me. I have tried all solutions I have read with no results, so I decided to create this question. I have been ...
meowy cat's user avatar
  • 121
5 votes
1 answer
641 views

Python socket ipv6 over network not working

I am trying to connect a server to a client in python with sockets. The problem is that with ipv6 binding, it works on my local network. What I want is to connect it to another network. These programs ...
yoyopi768 yoyopi768's user avatar
4 votes
1 answer
4k views

java.net.BindException: Address already in use: JVM_Bind

Server Program: import java.io.*; import java.net.*; class Server{ public static void main(String args[]){ try{ ServerSocket ss = new ServerSocket(8080); Socket s = ss....
Vinoth Vino's user avatar
  • 9,456
4 votes
1 answer
4k views

Why can't I access a simple Python server on a different computer?

I'm running Python's http.server with this command: py -m http.server --bind 0.0.0.0 I can access the server on the same computer by typing bob:8000 in a browser's address bar (I may or may not have ...
Daniel Giger's user avatar
  • 2,293
4 votes
2 answers
6k views

How to make a request to localhost via iOS device (using Xcode)?

I have a localhost website up at localhost:1336. When I run it on my simulator using Xcode, the app does not encounter any problem make a request to the localhost for data. But when I connect my ...
Joshua Ree's user avatar
4 votes
1 answer
276 views

Cannot access simple server locally, but can access externally

So I'm in the process of learning to make an android app, and will require a server to get information from. I have created a simple server that just listens on port 65431 for connections and once a ...
SlightlyCultured's user avatar
3 votes
1 answer
8k views

Run application both as server and client

I want to make my pc both server and client. This is my code import java.net.*; class tester { static int pos=0; static byte buffer[]=new byte[100]; static void Client() throws Exception { ...
Suhail Gupta's user avatar
  • 22.8k
3 votes
3 answers
989 views

Make local HTTP server inaccessable from outside

I want to write a program with HTTP server functionality on my Linux machine so that it can interact with my browser for showing formatted output etc. After some research I decided to go with ...
piripiri's user avatar
  • 1,985
3 votes
1 answer
5k views

Can a single server process listen from multiple ports?

I know it's possible to serve more clients through a single port with different sockets, but can a single server process listen from different ports or do I need to make different processes each for ...
Maghio's user avatar
  • 375
3 votes
1 answer
3k views

Configure my local flask server to be available to other devices under same wifi network

From most of the resources, I gathered- If I declare 0.0.0.0 as host and 5000 as port explicitly,other devices under my wifi network should access it, but when I type http://0.0.0.0:5000/ from ...
Natasha's user avatar
  • 6,733
3 votes
2 answers
4k views

How can server application check if a client application is online?

I have a server application which monitors the clients' activities in the network (all codes are in C# winforms). The server application already has IP addresses of client computers. I want to know ...
Bhaskar's user avatar
  • 1,036
3 votes
1 answer
4k views

How does the concept of Live server works?

lets say in visual studio I'm giving open with live server and start to work with my html, css and js. When I save then in browser the changes which I made is immediately uploaded automatically, ...
DIMPLE PANDA's user avatar
3 votes
2 answers
1k views

Google Cloud virtual machine instance created from snapshot not allowing ssh

I have created a virtual machine instance from snapshot taken the production server. SSH key is set. But I am unable to ssh into instance both from the putty and google cloud ssh option from browser. ...
Fahad Abid's user avatar
  • 1,052
3 votes
2 answers
4k views

Install codeigniter in parallels plesk server

The server runs 5.4.3 PHP with FastCGI For Cpanel, it works perfectly, however, it fail in plesk server. Here is the .htaccess used: RewriteEngine on DirectoryIndex index.php RewriteCond $1 !^(...
user782104's user avatar
  • 13.4k
3 votes
2 answers
1k views

Java - server networking specific client chat

I created a simple chat server that writes to all clients that is connected (I posted just the core code for simplicity) public class server extends Thread { private Socket clientSocket; private ...
Pam's user avatar
  • 73
3 votes
0 answers
596 views

How to access network drive folder using credentials in R?

In my company we have Network Drives where we store flat files e.g. ".txt" files. I have access to a specific folder of a network drive (e.g. "DNS_DRIVE\folder_name"), by using my Windows Credentials....
Chris Pappas's user avatar
3 votes
0 answers
57 views

Ofstream->write doesn't write the final packet

I'm doing a super simple ftp server for class in C++, Client: Read from a file write in the socket. server: Read from socket write on file. I have finished all the networking and everything works but ...
Emanone's user avatar
  • 31
3 votes
0 answers
145 views

cannot receive HTTP messages on HoloLens server

i've been trying for days to implement a simple server on HoloLens to receive HTTP packets sent from a smart object on a local network. My code so far is the following (i report only the part of the ...
Maffe's user avatar
  • 430
3 votes
0 answers
356 views

My multi-thread online Server gets too slow when multiple clients connect, C#

I'm trying to develop an online game just for fun, with a server and at least 2 clients playing in a single "room". My logic goes as follow, first have the server wait for a client to connect, after ...
Teler's user avatar
  • 477
3 votes
1 answer
1k views

504 Gateway Time-out when trying to login to laravel project

I have a laravel v5.2 project, My pc environment is ubnuntu (host) The project is on vms, the vm configuration is like below : There is an haproxy to load two relplica sets which they are also ...
Mohammad_Hosseini's user avatar
3 votes
1 answer
719 views

AuthenticateAsServerAsync hangs

I'm using await stream.AuthenticateAsServerAsync(serverCert, true, SslProtocols.Tls, false); In my application to secure a connection. Unfortunately in rare cases (roughly one out of 1000) this ...
kentor's user avatar
  • 17.5k
3 votes
1 answer
415 views

Is it possible to access an HTTP server deployed on an Android phone from another device on the same network?

I am using the NanoHttpd library to set up a server. It is currently serving a 'Hello World' HTML page. It is accessible from the browser of the phone on which it is deployed but not on other phones ...
Umang Mathur's user avatar
2 votes
3 answers
1k views

Should you deploy django with wsgi?

Do you need to deploy django with wsgi? I am running Django on a Docker instance and it seems like often the recommended solution is just to use Django's development server, i.e. the command python ...
Ashwin Ramaswami's user avatar
2 votes
1 answer
935 views

Why forward port 80 to 8080?

As described in my question How to deploy a Node.js WebSocket server to Amazon Elastic Beanstalk?, Using the Elastic Beanstalk web console, I've launched a new Web Server 1.0 environment with: ...
ma11hew28's user avatar
  • 124k
2 votes
3 answers
3k views

How to connect to localhost on a real device in react native on iOS?

I have a server running on localhost:5000 on my desktop, and when I make http requests through my react-native app when running on the iOS simulation to it, it works. However, when I connect to a real ...
zengod's user avatar
  • 1,154
2 votes
1 answer
1k views

What are the Drawbacks/ Caveats / Limitations of using a Non-Authoritative Server over a Fully Authoritative Server for Multiplayer Networking?

Our Team is developing a Fast-Paced Arena FPS game with a maximum of 10 Players per match(5v5) for Mobile Platforms using Unity. We're really in a dilemma on whether to use a Non-Authoritative or ...
Vignesh Gunasekaran's user avatar
2 votes
1 answer
22k views

Allowing only local network access in NGINX

I have a single physical server running several server blocks in nginx corresponding to different subdomains. One of them I'd like to be only accessible from devices on the same local network as the ...
Sean's user avatar
  • 3,022
2 votes
1 answer
2k views

Java networking - how to permanently ban ip address?

I'm making a program where the user logs into the server with a username and password only the server knows. They have 4 tries to get the correct username and password. If they do not enter the ...
Brianna's user avatar
  • 107
2 votes
2 answers
3k views

Angular 2 localhost and Backendserver Connection

I am trying to run a Angular 2 project with npm start on my machine and access the backend on another server. When I call a post or get I always getting the 'Access-Control-Allow-Origin missing' ...
lynxSven's user avatar
  • 574
2 votes
1 answer
519 views

64k connection myth and NAT translation

I have a lot (ten of thousands) of connected mobile devices which are maintaining an opened connection to a server. If my understanding of the 64k connection limitation is correct, you cannot have ...
jobou's user avatar
  • 1,853
2 votes
1 answer
1k views

How would you create a server without port-forwarding for a website?

I'm at school and in on Campus housing which means I don't have access to the router to get the admin password to allow me to port-forward my website for my senior Capstone. I would like to know how ...
Matt A's user avatar
  • 23
2 votes
1 answer
1k views

Listening to Port 1880 fails on Windows

I am not able to start a server listening to port 1880. I tried this simple code in Node.js: var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-...
Tobias von Falkenhayn's user avatar
2 votes
1 answer
1k views

Server binding results in error "Cannot assign requested address"?

I would like to create a server on localhost, using IPv6 mapped IPv4 address of the local host, but I get errno 99. I am not sure what am I doing wrong here: #define IPv6_MAPPED_IPv4_LOCAL_ADDRESS "::...
Bionix1441's user avatar
  • 2,259
2 votes
1 answer
1k views

Docker two containers two public IP , same Port

I have two public IP addresses in the same server eth0 and eth0:0. And I have two containers that I would like them to listen on the same port but not on the same public address. My two containers ...
marouen sammari's user avatar
2 votes
2 answers
5k views

Python : How to connect socket on different network

I have begun learning Socket Programming and Issue I faced is. I am unable to connect Sockets when On two different network ( To be specific : I am using Web-host and Cgi programming to create python ...
amitnair92's user avatar
2 votes
2 answers
936 views

DNS Server IP Address

I have a basic question about DNS infrastructure. I'm wondering how the IP addresses of upstream DNS servers are configured within DNS servers. For example, when my router needs to satisfy a DNS ...
duffsterlp's user avatar
2 votes
1 answer
388 views

ASIO Client Server Connects Fine on the same PC, but Fails across a Local Network

I'm going to include all the relevant portions of code, but I'm pretty sure the problem is with my network, not with my code, since my code works perfectly fine if I loopback on a single computer. ...
Xirema's user avatar
  • 20.1k
2 votes
1 answer
332 views

WSAPoll vs Overlapped WSARecv Performance?

I'm creating a server that must handle 1000+ clients, the method I'm currently using is: One thread will use WSAAccept to handle incoming connections, it has a threads pool of which each thread will ...
thedemons's user avatar
  • 1,144
2 votes
1 answer
67 views

sockets wont send data over LAN

im trying to make a script that when a WASD button is pressed it uses a socket to send that to a server over a LAN network here is the client: import socket from pynput.keyboard import Listener HOST =...
fortnite awesome paradys's user avatar
2 votes
1 answer
5k views

Accessing Docker from host network using domain name

hey guys I have a docker container A with a domain name attached to it on a host B with a domain name attached to it as well.....how can I access the said container A via A's domain name rather than ...
Kendall's user avatar
  • 5,155
2 votes
1 answer
216 views

FTP Server doesn't react to USER requst

I am trying to make a terminal based ftp client in python 2.7. I set up a server (FileZilla Server version 0.9.41 beta) and tried to execute a script that communicates with that Server. My Client.py: ...
Hans Wuast's user avatar

1
2 3 4 5
13