« first day (2199 days earlier)      last day (2749 days later) » 
06:00 - 13:0013:00 - 00:00

War
1:00 PM
both run on the same port 80
that's what makes this tricky I think
that port sharing ... the only thing that changes the destination is the dns
 
the port does not matter, as much as the NAT
 
War
yeh but like you said ... a router aint gonna handle that
 
in a Router, all outside IP's can only point to 1 internal IP
 
War
so it doesn't feel like a nat problem
@juanvan yes ... per port
 
you can only have 12.12.12.12 point to 172.1776.10.12
 
War
1:01 PM
on port 80
 
yes
 
War
then a different internal ip for port 81
that's the existing setup I have ... but i'm fed up of writing port numbers in urls or using port numbers to connect to my LAN parts
 
yep
 
War
would rather just write something like "sql.mydomain.com" in to rdp (for example) to rdp in to my sql box
 
so I can make a NAT, that says 12.12.12.12 point to 172.1776.10.12 Service 80
12.12.12.12 point to 172.1776.10.13 Service 3306
but if I wanted 12.12.12.12 point to 172.1776.10.12:80
and 12.12.12.12 point to 172.1776.10.13:80 a router won't do it
you have confused the route table
 
War
1:04 PM
that's what got me thinking this is a dns problem
forward port 80 to the dns server
then the dns can forward it on
but that doesn't seem right
dns doesn't work like that
proxying however ... that could work
 
that is what a proxy does, reads the hostname and forwards it on to the correct 172 address
 
War
yeh
hmm ... could build a single VM that has dns and proxy server on it
fiddly
 
would do the proxy server
 
War
juts proxy? no dns needed?
 
let dns be handled by the domain registry
like network solutions
or dyn
 
War
1:06 PM
don't have one (it's my home lan)
i spose I could setup a domain controller too
 
but if you get a domain name, they offer the dns
 
War
sheesh this network is going nuts
 
hosted DNS are bad
you get into a worse situation then the hack yesterday
 
War
dns resolution for a domain is only going to point all traffic on that domain according to the dns rules I setup on the dns registry
 
Yep
 
War
1:07 PM
for example I have MX records to give my mail for my domain to google to handle
 
it's only a phone book type look up
 
War
but everything else points at my home IP
 
name ~ ip address
 
War
yeh
the record type makes a difference too
 
ya pending MX A Cname
what ever, but that does not change the end result you get to that single IP
 
War
1:10 PM
uh ... for all but mail yeh
for my mail stuff my MX records forward to a range
I guess the client picks which one
 
sends out a broadcast and see who responds
 
ive only been semi follow but essentially war, u want multiple services running from the same ip, on the same port? :S
 
War
@JasonBrown sample external i, same port yes
different internal ip
 
multiple same services
 
War
in other words ... i have several web servers ... depending on the domain i might pick server A or server B
 
1:12 PM
hmm...
 
War
yeh that's what i have so far except ... instead of a load balancer I have a router, and the servers are all vm's
(in case that makes any difference, though I doubt it)
 
ya in your case the load balancer would be a proxy server
3
Q: Host two separate web servers on the same IP

Randy KupelI currently have a Ubuntu web server with Apache setup and running wonderfully, I want to do two things, I want to setup two more boxes which would be on the same WAN address but of course have separate local addresses. So say I have www.example.com as the main server I also want test.example.co...

afk - dishes :-\
 
War
hmmmm
 
ya going to take a stab at it?
 
War
1:22 PM
yeh ... it doesn't seem too complex ... just time consuming
 
like all thing - time
but now you know and knowing is half the battle
 
War
yeh i think it's still going to be a bit of a trial and error thing
half tempted to setup a box that has domain controller, dns, and proxy on it
although I don't like the need for proxy here ... isn't it meant to be a bit ofa gateway that your route your traffic through so each packet would go through it
 
Hi guys.
 
War
could become a bottleneck
 
CurrentPageViewModel = PageViewModels
                .FirstOrDefault(vm => vm == viewModel);
CAn someone explain what that LINQ means?
CurrentPageViewModel is a Object. PageViewModels is a List<Object>
 
War
1:26 PM
get the first view model from the collection (or null) that matches the given one
probably the most basic linq statement possible
 
Found it confusing.
 
@HassanAlthaf the argument to FirstOrDefault is a delegate, which is a particular way of representing a function. Passing a delegate to a LINQ method usually means 'run this function for each element in the sequence, passing the element as the argument'
 
War
@juanvan what if I forward the ports to my hyperv host then put the sub rules in the hyperv servers hosts file?
or would that only handle outgoing calls
 
outgoing
never used hyper-v like that
out be for internal routing too
hyper-v has nothing to do with external names
 
War
hmmm
this is all just a convenience thing ... I spose I could just use port triggering ... not as nice but meh ...
 
1:48 PM
I don't know why this Dictionary is not working..
I have this Dictionary guys:
private Dictionary<string, IPageViewModel> pageViewModels;
Nevermind works.
C# is so epic
 
War
@juanvan turns out my router is smart
it has a dns service resolution mechanism in it
I can setup my isp's dns server as the secondary server and point at a primary "internal dns server" for all local dns resolution questions
so basically combining my router with a standard dns setup should solve the problem
no proxy needed
 
2:03 PM
still have the problem of the ports
reading
 
War
my router has a dns server in it too it seems
might be able to set that up
just reading up on it
 
think that is for internal only
I have an internal DNS server on the SBS 2008 install
if I need to get to a 172.16 network by name I add a dns record
this will then take that request and instead of going out and point back in, it points local
wish this kid would take a nap
 
War
but being on my router ... it should according to the docs (if I set the dns name of the router in its control panel) handle all traffic on that domain
not sure how that works with port forwarding yet though
 
that is a COOL display of how DNS works
dns is name and ip only not port
 
War
haha that's awesome
 
2:15 PM
if you had these 2 sites setup on the same VM would be easier
in the binding on site would respond on www the other on sql
 
War
not everything is on VM's
 
on 1 vm - you mean
 
War
I also don't want a web server and a db server on the same machine
 
correct
 
War
but things like my file store is not even on the same physical box
 
2:16 PM
you want the sql on a separate machine that is accessed by the web server
 
War
yeh that's what i have
 
yep that is what I have
woohoo sleep!!!
 
War
2:39 PM
ok random thought ... should I install dns services on my VM host? that way I can guarantee that any VM running is using the host to resolve names
as opposed to putting it on a VM where that could depend on the startup order of VM's
 
3:13 PM
@War you can do that, just have to make sure the VM is up when you need it
 
War
yeh that's why i thought putting the dns server on the host might be better
that way any VM that boots up is absolutely sure to have a DNS server to talk to
it's only a home LAN not a business one or anything but I wondered if there's some reason why this might be considered bad practice
or maybe there's a way to specify the boot order of VM's so the problem doesn't happen
 
3:31 PM
Hi Everyone
 
Hi
 
 
1 hour later…
4:55 PM
I manage some software that can send files to customers that are uploaded on our servers through an update client. I'd like to be able to delete files from our customers machine in a similar fashion so I can get rid of conflicting/old files remotely. I was thinking of just putting a file on our server that keeps track of what to delete and then the client would read it and act accordingly. What would be the best method and what are the dangers?
 
5:11 PM
@hilli_micha that is bad gew-gew
you should not be deleting anything on a remote client PC
you want to make a reminder to delete the file after it uploaded
it would SUCK really bad if Facebook could delete images or anything from my pc
Flip side you could Hash check the file being uploaded and see if it is not the same as one already inplace
 
@juanvan Well, here's the deal. I'm dealing with a catalog of HVAC Equipment models. The software has about 1000 individual models from differing manufacturers, also it's an OLD catalog. (about 10 years old) So, some equipment isn't even made anymore, there are also some roundabout duplicates in there as well.
 
Yep I know the feeling
 
Being just me working with this software, it's impractical to eat up ALL of my time to try and clean this from top to bottom. My hoping was creating a system to where I could quickly make updates to things as I'm updating them anyway or in small bits of time where I'm waiting on something
 
am working on a similar project
i have a client who uploads 50gb of model data every month
new and updated, and I need to process it for my other clients
 
Main reason I asked is because the notion of remote deleting gives me the heebeejeebees as well. But I was hoping that there was a sensible solution to that.
The only way I can currently think of is just give the user a prompt "Hey, we'd like to delete these crappy old models, can we?"
 
5:17 PM
Hello, can someone who has used bower/grunt/gulp with an Asp.net 4.5.2 project please explain the process of the files that are generated/minified/moved/organised with grunt/gulp inclued in Visual Studio (Not having to Right click the folders and click include in project).
I'm having a really bad time with this stuff and I've been tasked on using bower to replace 3rd party libraries from NuGet
I've read various guides, followed various tutorials but neither covers this fundamental issue
 
Ya tell them to delete once they are done, this is a web app I take it?
 
I've tried custom targets in my .csproj file and I'm battling a wall
hmm yes a web app
I want to use the generated files in my build config
 
sorry @Euphoria that was not for you
 
@juanvan No, it's an extension for AutoCAD. We just have a client that manages updates/equipment.
 
So I want bower to download a bunch of libraries, I want the non-minified version organised in a useful file structure then I want visual studio to include the folders without me or other developers do it manually. I've asked a question but not even had a comment on it. stackoverflow.com/questions/40180442/…
 
5:20 PM
@hilli_micha that is better - humm
 
Currently, we can give users the files no problem. When they start our add-in. It just says "Hey! These files are available to download" it will list the files and prompt the user to download.
 
0
Q: Packages retrieved by Bower/Node are not "included" in (older) Visual Studio project

EuphoriaSetup VS 2015 (Update 3) / ASP.Net 4.5.2 (MVC 5) Background I'm new to npm/bower/gulp&grunt and struggling to swap to these newer methods of managing 3rd party libraries and moving away from NuGet limiting it for server side packages only. I'm trying to use BundleConfig to include files ins...

 
@hilli_micha I see the problem
so you might want to check out this
 
Card game? I imagine they do something similar doing a remote management of files based on what's current?
 
Yep
 
5:25 PM
Cool, thanks! I'll look at it.
 
check out the Tokens
 
 
2 hours later…
7:13 PM
knowing TFS, why would file not come over with a GET when grabbing a new project? My models for EF were not in the new download this time, it's like a few files are missed every time I refresh the project from my local pc and my work pc...
 
 
3 hours later…
9:46 PM
Call the team, they will fix it
mean the online visualstudio.com? that is the one I use it's not an onsite tfs (i am the only one using it)
 
10:16 PM
?
not to say I am not a Pro at confusing people, my friends tell me I do all the time
 
11:15 PM
Hello everyone, is it possible to use SQL Server 2014 based database in SQL Server 2016?
 
11:54 PM
is anyone familiar with using an ApplicationPool object to recycle an IIS app pool?
I want to recycle my app pool, but I want to wait until it is started before continuing. However, if it doesn't come back up I dunno what to do.
 
06:00 - 13:0013:00 - 00:00

« first day (2199 days earlier)      last day (2749 days later) »